@arrows/array
Version:
Functional tools for JS arrays
15 lines (14 loc) • 333 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.keys = void 0;
/**
* Functional wrapper for Array.prototype.keys
*
* Returns an iterable of keys in the array
*
* @param arr Initial array
* @returns Iterator
*/
const keys = (arr) => arr.keys();
exports.keys = keys;
exports.default = keys;
;