MCPcopy
hub / github.com/fanmingming/live / isPrimitive

Function isPrimitive

m3u8/vue.js:36–44  ·  view source on GitHub ↗

* Check if value is primitive.

(value)

Source from the content-addressed store, hash-verified

34 * Check if value is primitive.
35 */
36 function isPrimitive (value) {
37 return (
38 typeof value === 'string' ||
39 typeof value === 'number' ||
40 // $flow-disable-line
41 typeof value === 'symbol' ||
42 typeof value === 'boolean'
43 )
44 }
45
46 /**
47 * 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