Standard Library: Verification functions
[is-any: value]
→ bool
Returns true
if value
is any non-empty
type.
[is-between: value; a; b]
→ bool
Returns true
if value
is bewteen a
and b
(both inclusive).
[is-bool: value]
→ bool
Returns true
if value
is of type bool
.
[is-empty: value]
→ bool
Returns true
if value
is ~
.
[is-even: number]
→ bool
Returns true
if number
is an even number.
[is-float: value]
→ bool
Returns true
if value
is of type float
.
[is-int: value]
→ bool
Returns true
if value
is of type int
.
[is-nan: value]
→ bool
Returns true
if value
is of type float
and equal to NaN (Not a Number).
[is-number: value]
→ bool
Returns true
if value
is of type int
or float
.
[is-odd: number]
→ bool
Returns true
if number
is an odd number.
[is-string: value]
→ bool
Returns true
if value
is of type string
.