is - nodef/extra-array GitHub Wiki
Check if value is an array.
function is(v)
// v: a value
const xarray = require('extra-array');
xarray.is([1, 2]);
// → true
xarray.is([]);
// → true
xarray.is(new Set([1, 2]));
// → false
Check if value is an array.
function is(v)
// v: a value
const xarray = require('extra-array');
xarray.is([1, 2]);
// → true
xarray.is([]);
// → true
xarray.is(new Set([1, 2]));
// → false