toBool returns the input value casted to a number
toBool takes no parameters
log true.toBool() // true log "10".toBool() // false log "false".toBool() // false log 1.toBool() // true
Last updated 3 months ago