isStackUpMovefunction
Whether something is a move Stack Up has, by its shape.
Import it
import { isStackUpMove } from "@johnmorrisdotca/toranpu/stack-up";
Definition
function isStackUpMove(value: unknown): value is StackUpMove
Parameters
| Name | Type | Description |
|---|---|---|
value | unknown | The unknown value to validate. |
Returns
boolean
Whether something is a move Stack Up has.
Examples
import { isStackUpMove } from "@johnmorrisdotca/toranpu/stack-up";
console.log(isStackUpMove({ pass: true }));trueWhat it prints (run when this page was built)