Namespace
ArrayUtils
Finds the smallest value in an array of numbers.
An array of numbers
The smallest value in the array
const numbers = [5, 10, 2, 8];const minValue = minArray(numbers);console.log(minValue); // Output: 2 Copy
const numbers = [5, 10, 2, 8];const minValue = minArray(numbers);console.log(minValue); // Output: 2
Generated using TypeDoc
ArrayUtils
Finds the smallest value in an array of numbers.