inRange() — react Function Reference
Architecture documentation for the inRange() function in InferReactiveScopeVariables.ts from the react codebase.
Entity Profile
Dependency Diagram
graph TD 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30["inRange()"] f041318d_301f_daad_4198_91d141b3039d["InferReactiveScopeVariables.ts"] 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30 -->|defined in| f041318d_301f_daad_4198_91d141b3039d cac490a6_2858_f9b4_a7b9_507c998b97b7["isImmutableAtInstr()"] cac490a6_2858_f9b4_a7b9_507c998b97b7 -->|calls| 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30 11746e9a_2fdf_98bb_bb3c_a63d8b200df2["isMutable()"] 11746e9a_2fdf_98bb_bb3c_a63d8b200df2 -->|calls| 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30 style 77f6c8f4_9a10_4ed4_40d4_5d5f7009db30 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts lines 202–207
export function inRange(
{id}: {id: InstructionId},
range: MutableRange,
): boolean {
return id >= range.start && id < range.end;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does inRange() do?
inRange() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts.
Where is inRange() defined?
inRange() is defined in compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/InferReactiveScopeVariables.ts at line 202.
What calls inRange()?
inRange() is called by 2 function(s): isImmutableAtInstr, isMutable.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free