radicalForm関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
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 { radicalForm } from "@johnmorrisdotca/bushu";
定義
function radicalForm(key: string): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
key | string | The RADKFILE radical key; use the key even when its displayed shape is a stand-in. |
戻り値
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.
例
import { radicalForm } from "@johnmorrisdotca/bushu";
console.log(radicalForm("汁"));氵出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。