Reference · Rockets, variants, parts and the fit check
cleanWayfunction
Anything but ccw is the default way.
Import it
import { cleanWay } from "@johnmorrisdotca/uchusen-rockets";
Definition
function cleanWay(value: unknown): Way
Parameters
| Name | Type | Description |
|---|---|---|
value | unknown | Anything. |
Returns
Way
ccw for ccw, and cw for anything else.
Examples
import { cleanWay } from "@johnmorrisdotca/uchusen-rockets";
console.log(cleanWay("ccw"), cleanWay("left"));ccw cwWhat it prints (run when this page was built)