arudradey's picture
download
raw
320 Bytes
var isArray = require('./');
var test = require('tape');
test('is array', function(t){
t.ok(isArray([]));
t.notOk(isArray({}));
t.notOk(isArray(null));
t.notOk(isArray(false));
var obj = {};
obj[0] = true;
t.notOk(isArray(obj));
var arr = [];
arr.foo = 'bar';
t.ok(isArray(arr));
t.end();
});

Xet Storage Details

Size:
320 Bytes
·
Xet hash:
fdcbc47ef6c16429bccb144021eb35d2a295a4881679c6afffaf09cb80cd946c

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.