Home / Function/ isFragment() — react Function Reference

isFragment() — react Function Reference

Architecture documentation for the isFragment() function in ReactIs.js from the react codebase.

Entity Profile

Dependency Diagram

graph TD
  32a77786_f518_f07e_cc4d_4dcda50dd1db["isFragment()"]
  dfae0a13_bd8b_97d9_0260_bcccc6acd4f8["ReactIs.js"]
  32a77786_f518_f07e_cc4d_4dcda50dd1db -->|defined in| dfae0a13_bd8b_97d9_0260_bcccc6acd4f8
  style 32a77786_f518_f07e_cc4d_4dcda50dd1db fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

packages/react-is/src/ReactIs.js lines 149–151

export function isFragment(object: any): boolean {
  return typeOf(object) === REACT_FRAGMENT_TYPE;
}

Domain

Subdomains

Frequently Asked Questions

What does isFragment() do?
isFragment() is a function in the react codebase, defined in packages/react-is/src/ReactIs.js.
Where is isFragment() defined?
isFragment() is defined in packages/react-is/src/ReactIs.js at line 149.

Analyze Your Own Codebase

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

Try Supermodel Free