min
min(limit, [closed=true])
Effect
Restrict the min value of the detected number.
Arguments
limit
(number) - The min value.[closed]
(boolean) - Whether it is a closed interval or not, the default istrue
, which means a closed interval, it requires the detected number greater than or equal tolimit
. If you exactly setclosed
tofalse
, you'll get an opened interval, it requires the detected number strictly greater thanlimit
.
Example
Last updated