Math
clamp
Clamps a number within a specified range.inRange
Checks if a value is within a specified range.mean
Calculates the average of an array of numbers.meanBy
Calculates the average of an array by applying the getValue function to each element.median
Calculates the median of an array of numbers.medianBy
Calculates the median of an array by applying the getValue function to each element.percentile
Calculates the value at the given percentile of an array of numbers.random
Generates a random number within a specified range.randomInt
Generates a random integer within a specified range.range
Creates an array of numbers within a specified range and step.rangeRight
Creates an array of numbers in reverse order within a specified range and step.round
Rounds a number to a specified number of decimal places.sum
Returns the sum of all elements in an array of numbers.sumBy
Calculates the sum of array elements using a transformation function.