Sha256: f22db9055c3fe7faa471ff7cd3b3c989155ceee109c697d7bda43cddfd95388e
Contents?: true
Size: 452 Bytes
Versions: 17
Compression:
Stored size: 452 Bytes
Contents
'use strict'; var isArguments = require('es5-ext/function/is-arguments') , isString = require('es5-ext/string/is-string') , iteratorSymbol = require('es6-symbol').iterator , isArray = Array.isArray; module.exports = function (value) { if (value == null) return false; if (isArray(value)) return true; if (isString(value)) return true; if (isArguments(value)) return true; return (typeof value[iteratorSymbol] === 'function'); };
Version data entries
17 entries across 12 versions & 6 rubygems