as_boolean
function:
- Can also be called as
as_bool
return the Boolean if the argument is a Boolean, nothing if it's not.
Examples:
- running:
(as_boolean false)
will give:false
- running:
(as_boolean true)
will give:true
- running:
(as_boolean 312)
will return nothing