randomDice関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Dice that are not seeded: from the device's own random numbers.
インポート
import { randomDice } from "@johnmorrisdotca/sugoroku";
定義
function randomDice(): DiceSource
戻り値
DiceSource
Dice that are not seeded: from the device's own random numbers.
例
import { randomDice } from "@johnmorrisdotca/sugoroku";
console.log(typeof randomDice());function出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。