MCPcopy Create free account
hub / github.com/TruthHun/BookStack / isPrimitive

Function isPrimitive

static/word2md/mammoth.browser.js:9240–9244  ·  view source on GitHub ↗
(val)

Source from the content-addressed store, hash-verified

9238
9239
9240function isPrimitive(val) {
9241 return val == null || val === true || val === false ||
9242 typeof val === "string" || typeof val === "number";
9243
9244}
9245
9246function isObject(value) {
9247 return typeof value === "function" ||

Callers 2

maybeWrapAsErrorFunction · 0.70
notEnumerablePropFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected