Radical型
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A radical, or a common element of kanji, as RADKFILE lists it.
インポート
import type { Radical } from "@johnmorrisdotca/bushu";
定義
type Radical = {
readonly radical: string;
readonly strokes: number;
readonly kanji: string;
};
メンバー
| 名前 | 型 | 説明 |
|---|---|---|
radical | string | Its key. A radical with no character of its own is keyed by a kanji that holds its shape: 汁 for 氵 (see |
strokes | number | Its stroke count as RADKFILE writes it (see |
kanji | string | Every kanji that holds it, as one string. |
例
import type { Radical } from "@johnmorrisdotca/bushu";
const value: Radical = {radical:"水",strokes:4,kanji:"海湖"};
console.log(value);{ radical: '水', strokes: 4, kanji: '海湖' }出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。