suidoSayfunction
A line in a language, with its values filled in; the line itself if there is none by that name.
Import it
import { suidoSay } from "@johnmorrisdotca/suido/play";
Definition
function suidoSay(language: SuidoLanguage, key: string, values?: Record<string, string | number>): string
Parameters
| Name | Type | Description |
|---|---|---|
language | SuidoLanguage | The English or Japanese display language. |
key | string | The native localized label key. |
values (optional) | Record<string, string | number> | Values to interpolate, or numerical measurements to sort as specified by the signature. |
Returns
string
A line in a language, with its values filled in; the line itself if there is none by that name.
Examples
import { suidoSay } from "@johnmorrisdotca/suido/play";
console.log(suidoSay("en","restart"));Start overWhat it prints (run when this page was built)