Home / Function/ isFragment() — supabase Function Reference

isFragment() — supabase Function Reference

Architecture documentation for the isFragment() function in fields.ts from the supabase codebase.

Entity Profile

Dependency Diagram

graph TD
  35da8936_b438_abcc_24ef_5bb318355379["isFragment()"]
  8c15a3b0_a8b6_062a_e852_7c801cccbc6c["flattenAST()"]
  8c15a3b0_a8b6_062a_e852_7c801cccbc6c -->|calls| 35da8936_b438_abcc_24ef_5bb318355379
  style 35da8936_b438_abcc_24ef_5bb318355379 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

apps/docs/resources/utils/fields.ts lines 37–39

function isFragment(ast: SelectionNode): ast is FragmentSpreadNode | InlineFragmentNode {
  return ast.kind === 'InlineFragment' || ast.kind === 'FragmentSpread'
}

Subdomains

Called By

Frequently Asked Questions

What does isFragment() do?
isFragment() is a function in the supabase codebase.
What calls isFragment()?
isFragment() is called by 1 function(s): flattenAST.

Analyze Your Own Codebase

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

Try Supermodel Free