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

This commit is contained in:
2026-10-18 11:17:35 +02:00
parent cef6e201c7
commit 6bc0cc6f52
18199 changed files with 3919254 additions and 10257 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();
});