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