Home / Function/ isCompilerFlag() — react Function Reference

isCompilerFlag() — react Function Reference

Architecture documentation for the isCompilerFlag() function in Options.ts from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4["isCompilerFlag()"]
  4828f3cc_e6ac_9239_d7f7_c05f7f60419c["Options.ts"]
  a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4 -->|defined in| 4828f3cc_e6ac_9239_d7f7_c05f7f60419c
  24cdb07f_f37c_ae1f_e990_0390441e2808["parsePluginOptions()"]
  24cdb07f_f37c_ae1f_e990_0390441e2808 -->|calls| a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4
  27d56ae1_023e_57f5_a306_f4be92e0daca["hasOwnProperty()"]
  a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4 -->|calls| 27d56ae1_023e_57f5_a306_f4be92e0daca
  style a0135f69_c8e1_b5c5_ad8b_6bb43eb13eb4 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts lines 428–430

function isCompilerFlag(s: string): s is keyof PluginOptions {
  return hasOwnProperty(defaultOptions, s);
}

Domain

Subdomains

Frequently Asked Questions

What does isCompilerFlag() do?
isCompilerFlag() is a function in the react codebase, defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts.
Where is isCompilerFlag() defined?
isCompilerFlag() is defined in compiler/packages/babel-plugin-react-compiler/src/Entrypoint/Options.ts at line 428.
What does isCompilerFlag() call?
isCompilerFlag() calls 1 function(s): hasOwnProperty.
What calls isCompilerFlag()?
isCompilerFlag() is called by 1 function(s): parsePluginOptions.

Analyze Your Own Codebase

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

Try Supermodel Free