versao nrgocios
tests / ci (push) Canceled after 0s

This commit is contained in:
2026-10-16 13:06:58 +02:00
parent 6a76aac80f
commit 2d23157e40
17260 changed files with 4150820 additions and 43 deletions
@@ -0,0 +1,20 @@
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();
});