Skip to main content
The Deno 2 Release Candidate is here
Learn more
method InventoryHelper.prototype.canPlaceItemsInContainer
Re-export
import { InventoryHelper } from "https://deno.land/x/sptaki@1.2.0/helpers/mod.ts";

Do the provided items all fit into the grid

Parameters

containerFS2D: number[][]

Container grid to fit items into

itemsWithChildren: Item[][]

items to try and fit into grid

Returns

boolean

True all fit