Skip to content

hasPack beta ​

Function of @v12-engine/engine

ts
export declare function hasPack(game: {
    packs?: readonly GamePack[];
} | null | undefined, id: string): boolean;

Whether a game has a pack on, by its id: hasPack(game, HEROES), what the editor asks before it shows a hero's fields