Home / Function/ isXplatConfig() — react Function Reference

isXplatConfig() — react Function Reference

Architecture documentation for the isXplatConfig() function in jest-cli.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  be464150_80d3_49db_bcf3_bc437653fc07["isXplatConfig()"]
  275b3ae7_7007_e04d_7b4e_3740a2f0eb52["jest-cli.js"]
  be464150_80d3_49db_bcf3_bc437653fc07 -->|defined in| 275b3ae7_7007_e04d_7b4e_3740a2f0eb52
  cdec5053_8e42_ae51_fe4d_1efd82394de5["validateOptions()"]
  cdec5053_8e42_ae51_fe4d_1efd82394de5 -->|calls| be464150_80d3_49db_bcf3_bc437653fc07
  9295d571_bfa6_f0de_389c_4c52aef9a5a4["getCommandArgs()"]
  9295d571_bfa6_f0de_389c_4c52aef9a5a4 -->|calls| be464150_80d3_49db_bcf3_bc437653fc07
  style be464150_80d3_49db_bcf3_bc437653fc07 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

scripts/jest/jest-cli.js lines 135–137

function isXplatConfig() {
  return argv.releaseChannel === 'xplat' && argv.project !== 'devtools';
}

Domain

Subdomains

Frequently Asked Questions

What does isXplatConfig() do?
isXplatConfig() is a function in the react codebase, defined in scripts/jest/jest-cli.js.
Where is isXplatConfig() defined?
isXplatConfig() is defined in scripts/jest/jest-cli.js at line 135.
What calls isXplatConfig()?
isXplatConfig() is called by 2 function(s): getCommandArgs, validateOptions.

Analyze Your Own Codebase

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

Try Supermodel Free