Skip to content

@ue-too/being / index / GuardFunction

型別別名: GuardFunction()<Context> ​

GuardFunction<Context> = (context) => boolean

定義於: schema-factory.ts:61

Guard function that evaluates whether a transition should occur. Returns true if the guard condition is met.

型別參數 ​

Context ​

Context extends BaseContext = BaseContext

參數 ​

context ​

Context

回傳 ​

boolean