/** * Returns a new array generated by the execution of a function for each item of the given array. * * The deepProp argument is the name of property which should contain a nested array on which * the function should also be applied recursively. * * @method map * @global * @example * ```javascript * const hours = bbn.fn.range(0, 23, 1); * // [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23] * ``` * @example * ```javascript * const minsec = bbn.fn.range(0, 59, 1).map(h => ({text: h, value: h})); * // [{text: 0, value: 0}, {text: 1, value: 1}, ..., {text: 59, value: 59}] * ``` * * @memberof bbn.fn * @param {Number} start * @param {Number} stop * @param {Number} step * @returns {Array} */ export default function range(start: number, stop: number, step: number): number[];