> ## Documentation Index
> Fetch the complete documentation index at: https://docs.brik64.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Conditional Composition

> EVA conditional composition.

Conditional composition selects a branch based on a condition.

```pcd theme={null}
PC gate {
    fn gate(value) {
        if (value <= 0) {
            return 0;
        }

        return 1;
    }
}
```

## Review Points

* Blocked cases are explicit.
* Every branch returns.
* Branches return compatible result kinds.
* The final allowed path is visible.

## Review Guidance

Every branch must produce a defined result.
