Reference · Radical intersection and display forms
radicalFormfunction
The shape to draw for a RADKFILE key: the stand-in's own shape (汁 gives 氵), or the key itself where it already is the shape.
Import it
import { radicalForm } from "@johnmorrisdotca/bushu";
Definition
function radicalForm(key: string): string
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The RADKFILE radical key; use the key even when its displayed shape is a stand-in. |
Returns
string
The shape to draw for a RADKFILE key: the stand-in's own shape (汁 gives 氵), or the key itself where it already is the shape.
Examples
import { radicalForm } from "@johnmorrisdotca/bushu";
console.log(radicalForm("汁"));氵What it prints (run when this page was built)