Reference · Look words up by reading, written form, English meaning, kanji or romaji
KanjiFacttype
What the kanji tables say of one kanji in a text.
Import it
import type { KanjiFact } from "@johnmorrisdotca/jisho/words";
Definition
type KanjiFact = {
readonly kanji: string;
readonly grade: SchoolGrade | null;
readonly level: JlptLevel | null;
};
Members
| Name | Type | Description |
|---|---|---|
kanji | string | |
grade | SchoolGrade | null | Its school grade, or null for a kanji that has no row in the table (rarer than the 2,999 with a grade). |
level | JlptLevel | null | Its JLPT level on Waller's lists, or null. |
Examples
import type { KanjiFact } from "@johnmorrisdotca/jisho/words";
const fact: KanjiFact = { kanji: "食", grade: 2, level: "N5" };
console.log(fact.grade);2What it prints (run when this page was built)