findColossalLevels関数
リファレンスの説明と例は英語です。見出しと目次は日本語です。
The colossal levels of a list that pass a filter, by shape and way to play, each when given.
インポート
import { findColossalLevels } from "@johnmorrisdotca/meikyuu/levels/colossal";
定義
function findColossalLevels(filter?: { list?: MeikyuuColossalLevel["list"]; shape?: MazeRecipe["shape"]; mode?: MazeRecipe["mode"]; }): MeikyuuColossalLevel[]
引数
| 名前 | 型 | 説明 |
|---|---|---|
filter (省略可) | { list?: MeikyuuColossalLevel["list"]; shape?: MazeRecipe["shape"]; mode?: MazeRecipe["mode"]; } | Optional native shape, mode, size or collection filters. |
戻り値
MeikyuuColossalLevel[]
The colossal levels of a list that pass a filter, by shape and way to play, each when given.
例
import { findColossalLevels } from "@johnmorrisdotca/meikyuu/levels/colossal";
console.log(findColossalLevels({shape:"square"}).length);57出力(このページを作ったときに実行した結果)
この日本語は、まだ日本語を母語とする方の確認を受けていません。訂正を歓迎します。