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

Function isPrimitive

static/vuejs/vue.runtime.common.js:76–78  ·  view source on GitHub ↗

* Check if value is primitive

(value)

Source from the content-addressed store, hash-verified

74 * Check if value is primitive
75 */
76function isPrimitive (value) {
77 return typeof value === 'string' || typeof value === 'number'
78}
79
80/**
81 * Create a cached version of a pure function.

Callers 5

normalizeChildrenFunction · 0.70
normalizeArrayChildrenFunction · 0.70
createElementFunction · 0.70
createChildrenFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected