Sha256: eec8ea3c4b1ce7ca917815dcf3de4073b85ae83394ca1ed41a767e2559ddda39
Contents?: true
Size: 469 Bytes
Versions: 62
Compression:
Stored size: 469 Bytes
Contents
/* */ var $ = require('./$'), toIObject = require('./$.to-iobject'); module.exports = function(isEntries) { return function(it) { var O = toIObject(it), keys = $.getKeys(O), length = keys.length, i = 0, result = Array(length), key; if (isEntries) while (length > i) result[i] = [key = keys[i++], O[key]]; else while (length > i) result[i] = O[keys[i++]]; return result; }; };
Version data entries
62 entries across 31 versions & 1 rubygems