toBoolean

actual inline fun String.toBoolean(): Boolean(source)(source)

Deprecated

Use Kotlin compiler 1.4 to avoid deprecation warning.

Returns true if the content of this string is equal to the word "true", ignoring case, and false otherwise.

Since Kotlin

1.0