Reference · Japanese radical names
radicalNameForShapefunction
The Japanese name of a radical drawn as this shape, or null. 阝 is on both sides of a character and the first of its two names answers (おおざと).
Import it
import { radicalNameForShape } from "@johnmorrisdotca/bushu/names";
Definition
function radicalNameForShape(shape: string): string | null
Parameters
| Name | Type | Description |
|---|---|---|
shape | string | The displayed radical shape, or a key accepted by the shape index. |
Returns
string | null
The first school name for the displayed shape, or null when no shape is named; 阝 uses the first matching entry.
Examples
import { radicalNameForShape } from "@johnmorrisdotca/bushu/names";
console.log(radicalNameForShape("氵"));さんずいWhat it prints (run when this page was built)