describeNumberOnes関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The cards as a sentence, the drawing's description.
インポート
import { describeNumberOnes } from "@johnmorrisdotca/taisen-brackets";
定義
function describeNumberOnes(source: NumberOnesSource, options?: Pick<NumberOnesOptions, "locale" | "words" | "nameStyle" | "precision">): string
引数
| 名前 | 型 | 説明 |
|---|---|---|
source | NumberOnesSource | The number ones. |
options (省略可) | Pick<NumberOnesOptions, "locale" | "words" | "nameStyle" | "precision"> | The language, the words, the name style and the precision. |
戻り値
string
The description.
例
import { describeNumberOnes } from "@johnmorrisdotca/taisen-brackets";
console.log(describeNumberOnes({ cards: [{ category: "-60 kg", entry: { name: "Nakamura", points: 1240 } }] }));Number ones. #1 in -60 kg, Nakamura, 1,240 points.出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。