Reference · Look words up by reading, written form, English meaning, kanji or romaji
WordsPiecetype
One piece of the table: rows by reading, or written forms with their readings, whichever file it came from.
Import it
import type { WordsPiece } from "@johnmorrisdotca/jisho/words";
Definition
type WordsPiece = {
readonly rows: readonly string[];
};
Members
| Name | Type | Description |
|---|---|---|
rows | readonly string[] | One string a row. |
Examples
import type { WordsPiece } from "@johnmorrisdotca/jisho/words";
const piece: WordsPiece = { rows: ["かみ\t紙\tC\t¦paper"] };
console.log(piece.rows.length);1What it prints (run when this page was built)