Skip to content

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.

string

string

boolean