Sha256: e41ba9a5bcd6dbc566ac1ea9f0f310ff4ac9bc8c02714e299fde6dddcf534b83
Contents?: true
Size: 236 Bytes
Versions: 15
Compression:
Stored size: 236 Bytes
Contents
'use strict'; var isObject = require('../object/is-object') , is = require('./is'); module.exports = function (x) { if (is(x) && isObject(x)) return x; throw new TypeError(x + " is not an iterable or array-like object"); };
Version data entries
15 entries across 12 versions & 6 rubygems