MCPcopy
hub / github.com/docsifyjs/docsify / isPrimitive

Function isPrimitive

src/core/util/core.js:51–53  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

49 * @returns {Boolean} Result of the check
50 */
51export function isPrimitive(value) {
52 return typeof value === 'string' || typeof value === 'number';
53}
54
55/**
56 * Performs no operation.

Callers 4

config.jsFile · 0.90
constructorMethod · 0.90
renderNameLinkFunction · 0.90
cachedFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…