effect-io-ai

Package: effect
Module: ExecutionPlan

ExecutionPlan.isExecutionPlan

Returns true if a value is an ExecutionPlan by checking for the ExecutionPlan.TypeId marker.

When to use

Use when accepting an unknown value and you need to narrow it to an ExecutionPlan before reading plan fields or passing it to plan-consuming APIs.

Gotchas

This is a structural marker check; it does not validate the marker value or the shape of the plan steps.

See

Signature

declare const isExecutionPlan: (u: unknown) => u is ExecutionPlan<any>

Source

Since v3.16.0