toBoolean

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

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