Reference · Radical intersection and display forms
Radicaltype
A radical, or a common element of kanji, as RADKFILE lists it.
Import it
import type { Radical } from "@johnmorrisdotca/bushu";
Definition
type Radical = {
readonly radical: string;
readonly strokes: number;
readonly kanji: string;
};
Members
| Name | Type | Description |
|---|---|---|
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. |
Examples
import type { Radical } from "@johnmorrisdotca/bushu";
const value: Radical = {radical:"水",strokes:4,kanji:"海湖"};
console.log(value);{ radical: '水', strokes: 4, kanji: '海湖' }What it prints (run when this page was built)