composer require alto/math-functionsReturns a value clamped between a minimum and maximum value.
clamp(float|int $value, float|int $min, float|int $max): float|intReturns true if a value is within a specified range.
in_range(float|int $value, float|int $min, float|int $max): boolThis package is licensed under the MIT License. See the LICENSE file for more information.