Reference · Rules, solvers and generation
tailWordfunction
Which of the tail's words a segment is, and what it says; null for none of them (the walls list).
Import it
import { tailWord } from "@johnmorrisdotca/tsunagi";
Definition
function tailWord(segment: string): { word: (typeof TAIL_ORDER)[number]; every?: number; blast?: boolean; list?: string; } | null
Parameters
| Name | Type | Description |
|---|---|---|
segment | string | One native layout-code suffix segment. |
Returns
{ word: (typeof TAIL_ORDER)[number]; every?: number; blast?: boolean; list?: string; } | null
Which of the tail's words a segment is, and what it says; null for none of them (the walls list).
Examples
import { tailWord } from "@johnmorrisdotca/tsunagi";
console.log(tailWord("strokes5"));{ word: 'strokes', every: 5 }What it prints (run when this page was built)