本文へ移動

Suido水道

管を回してポンプと排水口をつなぎます。収録された問題やシード付きの問題で遊べます。

「水道」は、水を届ける設備を表す言葉です。 名前について(英語)

目次

リファレンス · 遊べる盤

suidoSay関数

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

A line in a language, with its values filled in; the line itself if there is none by that name.

インポート

import { suidoSay } from "@johnmorrisdotca/suido/play";

定義

function suidoSay(language: SuidoLanguage, key: string, values?: Record<string, string | number>): string

引数

名前型説明
languageSuidoLanguage

The English or Japanese display language.

keystring

The native localized label key.

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

Values to interpolate, or numerical measurements to sort as specified by the signature.

戻り値

string

A line in a language, with its values filled in; the line itself if there is none by that name.

例

import { suidoSay } from "@johnmorrisdotca/suido/play";

console.log(suidoSay("en","restart"));
Start over

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

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

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