toBool
Syntax
toBool(value)Arguments
Examples
toBool("true") // true
toBool("yes") // true
toBool("1") // true
toBool("false") // false
toBool("no") // false
toBool("0") // false
toBool("") // falseLast updated