kotlin.text.toBoolean
toBoolean
inline fun String.toBoolean(): Boolean
Platform and version requirements: JVM
Returns true
if the contents of this string is equal to the word "true", ignoring case, and false
otherwise.
© 2010–2017 JetBrains s.r.o.
Licensed under the Apache License, Version 2.0.
https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/to-boolean.html