MCPcopy Create free account
hub / github.com/unconed/TermKit / isArray

Function isArray

Node/shell/meta.js:14–16  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

12
13// Is x an array?
14function isArray(x) {
15 return isObject(x) && x.constructor == [].constructor;
16}
17
18// Flatten multi-line strings.
19function join(string) {

Callers 1

meta.jsFile · 0.70

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected