TSUNAGI_PORTAL_SIZES定数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
A second set of levels, boards with portals (code.ts): a line goes in at one
ring and out of the other. Their own sizes and their own two blocks of sixteen a
size, opened one after another like the first set's, and numbered from 1 in their
own set; a record that keeps a level by one number (levelSeed) keeps a portal
level as TSUNAGI_PORTAL_SEED and its number, which no level of the first set
reaches.
インポート
import { TSUNAGI_PORTAL_SIZES } from "@johnmorrisdotca/tsunagi/levels";
ほかのエクスポート元: @johnmorrisdotca/tsunagi
定義
const TSUNAGI_PORTAL_SIZES: readonly [5, 6, 7, 8, 9, 10, 12, 15] = [5, 6, 7, 8, 9, 10, 12, 15] as const
例
import { TSUNAGI_PORTAL_SIZES } from "@johnmorrisdotca/tsunagi/levels";
console.log(TSUNAGI_PORTAL_SIZES);[
5, 6, 7, 8,
9, 10, 12, 15
]出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。