HITOTSU_EMBED_OPTION_KEYS定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
Native option keys checked by the builder.
インポート
import { HITOTSU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/hitotsu/element";
ほかのエクスポート元: @johnmorrisdotca/hitotsu/element/define, @johnmorrisdotca/hitotsu/element-define
定義
const HITOTSU_EMBED_OPTION_KEYS: string[] = Object.keys({ players: true, computers: true, rules: true, size: true, seed: true, language: true, strings: true, computerMs: true, theme: true, sound: true, onMove: true } satisfies Record<keyof HitotsuTableOptions, boolean>)
例
import { HITOTSU_EMBED_OPTION_KEYS } from "@johnmorrisdotca/hitotsu/element";
console.log(HITOTSU_EMBED_OPTION_KEYS.includes("players"));true出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。