Coerce to Boolean

Variables & Types ยท easy

Implement `toBool(value)` returning the boolean truthiness of `value`.

Learning resources

Loading...

Run your code to see results.