# Function: collectSupportedOptionalConditionBranches()
collectSupportedOptionalConditionBranches(
query):SupportedOptionalConditionBranch[]
Defined in: packages/core/src/transformers/PruneOptionalConditionBranches.ts:380
Collects supported top-level optional condition branches from the query graph. The returned branch expressions keep object identity so callers can move them without re-rendering.