Reference · Radical intersection and display forms
radicalStrokesfunction
The stroke count to file a RADKFILE radical under: its own, except for the two it miscounts.
Import it
import { radicalStrokes } from "@johnmorrisdotca/bushu";
Definition
function radicalStrokes(key: string, radkfileStrokes: number): number
Parameters
| Name | Type | Description |
|---|---|---|
key | string | The RADKFILE radical key; use the key even when its displayed shape is a stand-in. |
radkfileStrokes | number | The original stroke count supplied by RADKFILE. |
Returns
number
The stroke count to file a RADKFILE radical under: its own, except for the two it miscounts.
Examples
import { radicalStrokes } from "@johnmorrisdotca/bushu";
console.log(radicalStrokes("乞",2));3What it prints (run when this page was built)