SchoolGrade型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A school grade as KANJIDIC2 numbers it: 1 to 6 are elementary school, 8 is the rest of the jōyō kanji, taught in secondary school, 9 is the kanji allowed in names (jinmeiyō), 10 is a jinmeiyō variant of a jōyō kanji. There is no 7.
インポート
import type { SchoolGrade } from "@johnmorrisdotca/jisho";
定義
type SchoolGrade = 1 | 2 | 3 | 4 | 5 | 6 | 8 | 9 | 10;
例
import type { SchoolGrade } from "@johnmorrisdotca/jisho";
const grade: SchoolGrade = 8;
console.log(grade);8出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。