本文へ移動

Bushu部首

漢字に見える部品を選び、全てを含む漢字を探し、ページに部首選択を追加できます。

「部首」は、漢字を分類する部分です。 名前について(英語)

目次

リファレンス · 部品の共通部分と表示形

radicalStrokes関数

リファレンスの説明と例は英語です。見出しと目次は日本語です。

The stroke count to file a RADKFILE radical under: its own, except for the two it miscounts.

インポート

import { radicalStrokes } from "@johnmorrisdotca/bushu";

定義

function radicalStrokes(key: string, radkfileStrokes: number): number

引数

名前型説明
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.

戻り値

number

The stroke count to file a RADKFILE radical under: its own, except for the two it miscounts.

例

import { radicalStrokes } from "@johnmorrisdotca/bushu";

console.log(radicalStrokes("乞",2));
3

出力(このページを作ったときに実行した結果)

ソースを見るGitHub で編集@johnmorrisdotca/bushu 1.1.0 のソースから作成しました。

この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。