Home > rc-js-util > arrayMin
Find the smallest number in an array, if the array is empty the return is Infinity.
Signature:
export declare function arrayMin(numbers: ArrayLike<number>): number;
Parameter | Type | Description |
---|---|---|
numbers | ArrayLike<number> |
Returns:
number
See arrayMin().