Builtins: Math and randomness
On this page
boolean() and aliases#
boolean(value)Convert using runtime truthiness.
Returns: Boolean.
Aliases: bool()
boolean(1)A nonempty text such as "false" is not an English Boolean parser. Compare normalized input to an accepted word yourself.
min()#
min(a, b, ...)Find the smallest of separate numeric arguments.
Returns: Number/value selected by numeric comparison.
min(8, 3, 11)This is not an array reducer: loop through an array when its length is dynamic.
max()#
max(a, b, ...)Find the largest of separate numeric arguments.
Returns: Number/value selected by numeric comparison.
max(8, 3, 11)