toBoolean
Returns true if this string is not null and its content is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.
Since Kotlin
1.4Returns true if this string is not null and its content is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.
Since Kotlin
1.4Returns true if this string is not null and its content is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.
Since Kotlin
1.4Returns true if this string is not null and its content is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.
Since Kotlin
1.4Returns true if the contents of this string is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.
Since Kotlin
1.8Returns true if the contents of this string is equal to the word "true", ignoring case, and false otherwise.
There are also strict versions of the function available on non-nullable String, toBooleanStrict and toBooleanStrictOrNull.