/** * Returns the maximum of an array of values. * * @method max * @memberof ran.shape * @param {number[]} values Array of values to find the maximum for. * @returns {number} The maximum of the values, or NaN for an empty array. * @example * * ran.shape.max([]) * // => NaN * * ran.shape.max([3, 1, 4, 1, 5, 9]) * // => 9 */ export default function (values: number[]): number;