toBoolean

open fun toBoolean(source: Any): Boolean

Find the boolean value of the source

Return

true or false

Parameters

source

the object to be compared.