UNPKG

@arrows/array

Version:
15 lines (14 loc) 350 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.values = void 0; /** * Functional wrapper for Array.prototype.values * * Creates an iterable of values in the array. * * @param arr Initial array * @returns Iterator */ const values = (arr) => arr.values(); exports.values = values; exports.default = values;