本文へ移動

Bushu部首

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

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

目次

リファレンス · 標準の部首選択

bushuSay関数

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

A line in a language, with its {name} values filled in, and its One form when n is 1.

インポート

import { bushuSay } from "@johnmorrisdotca/bushu/picker";

定義

function bushuSay(language: BushuLanguage, key: string, values?: Record<string, string | number>): string

引数

名前型説明
languageBushuLanguage

The native English or Japanese picker language.

keystring

The native localized-message key, such as found.

values (省略可)Record<string, string | number>

Replacement values for brace-delimited native message placeholders.

戻り値

string

A line in a language, with its {name} values filled in, and its One form when n is 1.

例

import { bushuSay } from "@johnmorrisdotca/bushu/picker";

console.log(bushuSay("en","found",{n:2}));
2 kanji hold all of these parts.

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

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

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