Is there a Kotlin equivalent of Boolean.valueOf() of java? The closest I found was .toBoolean() . But if the string is null .toBoolean() would create a NPE.
確定! 回上一頁