Home / Function/ isRefValueType() — react Function Reference

isRefValueType() — react Function Reference

Architecture documentation for the isRefValueType() function in HIR.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  9b550baf_b3c9_a36a_101b_988d1ebb847c["isRefValueType()"]
  18a78965_f593_105b_e5e8_07001321c2ec["HIR.ts"]
  9b550baf_b3c9_a36a_101b_988d1ebb847c -->|defined in| 18a78965_f593_105b_e5e8_07001321c2ec
  0c74e41b_0049_99ab_ef6c_f73809164fac["isRefOrRefValue()"]
  0c74e41b_0049_99ab_ef6c_f73809164fac -->|calls| 9b550baf_b3c9_a36a_101b_988d1ebb847c
  e434c5d6_d7c8_9e0b_09fc_dc6523d5ef77["maybeDependency()"]
  e434c5d6_d7c8_9e0b_09fc_dc6523d5ef77 -->|calls| 9b550baf_b3c9_a36a_101b_988d1ebb847c
  style 9b550baf_b3c9_a36a_101b_988d1ebb847c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts lines 1815–1817

export function isRefValueType(id: Identifier): boolean {
  return id.type.kind === 'Object' && id.type.shapeId === 'BuiltInRefValue';
}

Subdomains

Frequently Asked Questions

What does isRefValueType() do?
isRefValueType() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts.
Where is isRefValueType() defined?
isRefValueType() is defined in compiler/packages/babel-plugin-react-compiler/src/HIR/HIR.ts at line 1815.
What calls isRefValueType()?
isRefValueType() is called by 2 function(s): isRefOrRefValue, maybeDependency.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free