MCPcopy Index your code
hub / github.com/TruthHun/BookStack / isArray

Function isArray

static/word2md/mammoth.browser.js:11508–11513  ·  view source on GitHub ↗
(arg)

Source from the content-addressed store, hash-verified

11506// because it is fragile and can be easily faked with `Object.create()`.
11507
11508function isArray(arg) {
11509 if (Array.isArray) {
11510 return Array.isArray(arg);
11511 }
11512 return objectToString(arg) === '[object Array]';
11513}
11514exports.isArray = isArray;
11515
11516function isBoolean(arg) {

Callers 4

mammoth.browser.jsFile · 0.70
fromObjectFunction · 0.70
prependListenerFunction · 0.70
formatValueFunction · 0.70

Calls 1

objectToStringFunction · 0.70

Tested by

no test coverage detected