MCPcopy
hub / github.com/msoedov/agentic_security / isPrimitive

Function isPrimitive

agentic_security/static/vue.js:37–45  ·  view source on GitHub ↗

* Check if value is primitive.

(value)

Source from the content-addressed store, hash-verified

35 * Check if value is primitive.
36 */
37 function isPrimitive (value) {
38 return (
39 typeof value === 'string' ||
40 typeof value === 'number' ||
41 // $flow-disable-line
42 typeof value === 'symbol' ||
43 typeof value === 'boolean'
44 )
45 }
46
47 /**
48 * Quick object check - this is primarily used to tell

Callers 8

setFunction · 0.85
delFunction · 0.85
normalizeChildrenFunction · 0.85
normalizeArrayChildrenFunction · 0.85
createElementFunction · 0.85
_createElementFunction · 0.85
createChildrenFunction · 0.85
vue.jsFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected