Sha256: b9e42f99fdc11180f7561496fd4cb065d646defe436ae1659c6e14aba6e6a7b2
Contents?: true
Size: 309 Bytes
Versions: 82
Compression:
Stored size: 309 Bytes
Contents
var getKeys = require('./_object-keys'); var toIObject = require('./_to-iobject'); module.exports = function (object, el) { var O = toIObject(object); var keys = getKeys(O); var length = keys.length; var index = 0; var key; while (length > index) if (O[key = keys[index++]] === el) return key; };
Version data entries
82 entries across 38 versions & 8 rubygems