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

Function isPrimitive

static/vuejs/vue.runtime.js:80–82  ·  view source on GitHub ↗

* Check if value is primitive

(value)

Source from the content-addressed store, hash-verified

78 * Check if value is primitive
79 */
80function isPrimitive (value) {
81 return typeof value === 'string' || typeof value === 'number'
82}
83
84/**
85 * Create a cached version of a pure function.

Callers 5

normalizeChildrenFunction · 0.70
normalizeArrayChildrenFunction · 0.70
createElementFunction · 0.70
createChildrenFunction · 0.70
vue.runtime.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected