isPrimitiveType() — react Function Reference
Architecture documentation for the isPrimitiveType() function in HIR.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 85046cfe_6315_ef8a_3c37_15f5a0fd2b46["isPrimitiveType()"] 18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"] 85046cfe_6315_ef8a_3c37_15f5a0fd2b46 -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec f3815d1a_36a1_3e3d_92f2_dbbe88f01fe3["inferMutationAliasingRanges()"] f3815d1a_36a1_3e3d_92f2_dbbe88f01fe3 -->|calls| 85046cfe_6315_ef8a_3c37_15f5a0fd2b46 a9c6b7d9_4ec5_27f1_c527_5516a037bb60["visitPrunedScope()"] a9c6b7d9_4ec5_27f1_c527_5516a037bb60 -->|calls| 85046cfe_6315_ef8a_3c37_15f5a0fd2b46 style 85046cfe_6315_ef8a_3c37_15f5a0fd2b46 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1791–1793
export function isPrimitiveType(id: Identifier): boolean {
return id.type.kind === 'Primitive';
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isPrimitiveType() do?
isPrimitiveType() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is isPrimitiveType() defined?
isPrimitiveType() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1791.
What calls isPrimitiveType()?
isPrimitiveType() is called by 2 function(s): inferMutationAliasingRanges, visitPrunedScope.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free