Hyperlinkv0.8.0-beta.28

ExecutionPlan

ExecutionPlan.isExecutionPlanconsteffect/ExecutionPlan.ts:62
(u: unknown): u is ExecutionPlan<any>

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.

export const isExecutionPlan = (u: unknown): u is ExecutionPlan<any> => Predicate.hasProperty(u, TypeId)