Skip to content

@checkout-kit/core / nextPhase

Variable: nextPhase ​

ts
const nextPhase: (phase, event) => CheckoutPhase | null;

The phase this event leads to, or null if the machine forbids it here.

Parameters ​

ParameterType
phaseCheckoutPhase
eventMachineEvent

Returns ​

CheckoutPhase | null

Apache-2.0 · Headless engine, provider adapters and runnable examples.