isPackMaterialized
isPackMaterialized(
id,rawAssetsRoot):boolean
Defined in: packages/declarative-hex-worlds/src/cli/commands/bootstrap/pack-bootstrap.ts:99
Whether a pack is materialized at <rawAssetsRoot>/<packId> (sidecar present).
Validates the id at runtime (not just by the PackId type) so an external
caller passing an unknown/hostile id gets a clear error, never a stray path.
Parameters
Section titled “Parameters”string
rawAssetsRoot
Section titled “rawAssetsRoot”string
Returns
Section titled “Returns”boolean