Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/unconed/TermKit
/ isArray
Function
isArray
Node/shell/reader.js:17–19 ·
view source on GitHub ↗
(x)
Source
from the content-addressed store, hash-verified
15
16
// Is x an array?
17
function
isArray(x) {
18
return
isObject(x) && x.constructor == [].constructor;
19
}
20
21
/**
22
* Data reader
for
termkit-style dataIn.
Callers
1
reader.js
File · 0.70
Calls
1
isObject
Function · 0.70
Tested by
no test coverage detected