Reference · Japanese radical names
radicalNamefunction
The Japanese name of a RADKFILE radical, in hiragana, or null where no school names it.
Import it
import { radicalName } from "@johnmorrisdotca/bushu/names";
Definition
function radicalName(key: string): string | null
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The RADKFILE radical key; use the key even when its displayed shape is a stand-in. |
Returns
string | null
The Japanese radical name, or null when the school-name table has no name for this key.
Examples
import { radicalName } from "@johnmorrisdotca/bushu/names";
console.log(radicalName("汁"));さんずいWhat it prints (run when this page was built)