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