radicalNameForShape関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The Japanese name of a radical drawn as this shape, or null. 阝 is on both sides of a character and the first of its two names answers (おおざと).
インポート
import { radicalNameForShape } from "@johnmorrisdotca/bushu/names";
定義
function radicalNameForShape(shape: string): string | null
引数
| 名前 | 型 | 説明 |
|---|---|---|
shape | string | The displayed radical shape, or a key accepted by the shape index. |
戻り値
string | null
The first school name for the displayed shape, or null when no shape is named; 阝 uses the first matching entry.
例
import { radicalNameForShape } from "@johnmorrisdotca/bushu/names";
console.log(radicalNameForShape("氵"));さんずい出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。