@ue-too/being / index / GuardFunction
型エイリアス: GuardFunction()<Context>
GuardFunction<
Context> = (context) =>boolean
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