Reference · Look words up by reading, written form, English meaning, kanji or romaji
readRowfunction
A row read out of the string it is stored as. The row and every list in it are frozen, because the row is kept and shared by
every lookup of the word: to change a word, copy it ({ ...word, senses }, as withoutMarks does).
Import it
import { readRow } from "@johnmorrisdotca/jisho/words";
Definition
function readRow(line: string): WordRow
Parameters
| Name | Type | Description |
|---|---|---|
line | string | One string of a table's |
Returns
WordRow
The row.
Examples
import { readRow } from "@johnmorrisdotca/jisho/words";
console.log(readRow("かみ\t紙\tC~ni03#1qmbk\t¦paper").forms); // ["紙"][ '紙' ]What it prints (run when this page was built)