.toBool()
Description
toBool returns the input value casted to a number
Parameters
toBool takes no parameters
Usage
log true.toBool()
// true
log "10".toBool()
// false
log "false".toBool()
// false
log 1.toBool()
// trueLast updated
Was this helpful?