Skip to content

isNeedsClarification

isNeedsClarification(output): output is NeedsClarification<LayoutMode>

Defined in: packages/engine/src/lib/planner/candidate.ts:198

Whether a planner output is a needs-clarification result rather than a plan result, by its type tag. Accepts any value, so it is safe on output from an untyped stage. It checks only the tag and does not validate question, options or any partial changes.

unknown

output is NeedsClarification<LayoutMode>