MCPcopy 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?
17function isArray(x) {
18 return isObject(x) && x.constructor == [].constructor;
19}
20
21/**
22 * Data reader for termkit-style dataIn.

Callers 1

reader.jsFile · 0.70

Calls 1

isObjectFunction · 0.70

Tested by

no test coverage detected