-
Couldn't load subscription status.
- Fork 5
Subhajit Sahu edited this page May 3, 2023
·
17 revisions
Check if value is an array.
function is(v)
// v: a valueconst xarray = require('extra-array');
xarray.is([1, 2]);
// → true
xarray.is([]);
// → true
xarray.is(new Set([1, 2]));
// → false