Sha256: 434e2ca033a2461135de8deda6d35bcf288a216ba43b12951f186adc05570029
Contents?: true
Size: 307 Bytes
Versions: 27
Compression:
Stored size: 307 Bytes
Contents
'use strict'; var canDistinguishSparseFromUndefined = 0 in [undefined]; // IE 6 - 8 have a bug where this returns false module.exports = function isStringOrHole(item, index, arr) { return typeof item === 'string' || (canDistinguishSparseFromUndefined ? !(index in arr) : typeof item === 'undefined'); };
Version data entries
27 entries across 27 versions & 2 rubygems