Skip to the content

Bushu部首

Choose the parts you can see in a kanji, intersect their matches, and add a radical picker to your page.

Bushu is the Japanese word 部首 for a kanji radical. About the name

Contents

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

NameTypeDescription
keystring

The RADKFILE radical key; use the key even when its displayed shape is a stand-in.

radkfileStrokesnumber

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));
3

What it prints (run when this page was built)

View sourceEdit on GitHubMade from the source of @johnmorrisdotca/bushu 1.1.0.