modules/number/main library

Properties

r Random
getter/setter pair

Functions

clamp(num number, num? lower, [num? upper]) → dynamic
Clamps number within the inclusive lower and upper bounds.
random(num upper, {num? lower, bool floating = false}) → dynamic