import { type ActionBase } from "https://deno.land/x/rimbu@1.1.0/actor/main/index.ts";
const { Creator } = ActionBase;
Defines how to create an action, and specifies the mandatory
match
function to determine whether an action matches the creator.
Type Parameters
AC extends ActionBase
Methods
match(action: ActionBase): action is AC
Returns true if the given action
is created by the current creator.