isPrimitive() — vue Function Reference
Architecture documentation for the isPrimitive() function in util.ts from the vue codebase.
Entity Profile
Dependency Diagram
graph TD 587d6539_745c_96b2_3b45_56fbf8ca59e2["isPrimitive()"] 00cce470_87b6_9803_7f03_3dd6786130a1["normalizeChildren()"] 00cce470_87b6_9803_7f03_3dd6786130a1 -->|calls| 587d6539_745c_96b2_3b45_56fbf8ca59e2 242e8703_557d_b7a4_e1e5_d4b525f65345["normalizeArrayChildren()"] 242e8703_557d_b7a4_e1e5_d4b525f65345 -->|calls| 587d6539_745c_96b2_3b45_56fbf8ca59e2 a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32["default.render()"] a0548f3d_ad52_9c9a_fe0e_c4bc5ed97f32 -->|calls| 587d6539_745c_96b2_3b45_56fbf8ca59e2 style 587d6539_745c_96b2_3b45_56fbf8ca59e2 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
src/shared/util.ts lines 26–34
export function isPrimitive(value: any): boolean {
return (
typeof value === 'string' ||
typeof value === 'number' ||
// $flow-disable-line
typeof value === 'symbol' ||
typeof value === 'boolean'
)
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isPrimitive() do?
isPrimitive() is a function in the vue codebase.
What calls isPrimitive()?
isPrimitive() is called by 3 function(s): default.render, normalizeArrayChildren, normalizeChildren.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free