Skip to content

chooseSet beta ​

Function of @v12-engine/engine

ts
export declare function chooseSet<D extends {
    id: string;
}>(set: Pick<DefaultSet<D>, 'defs'>, choice?: SetChoice<D>): D[];

The definitions a choice takes of a default set (SetChoice): those it keeps, changed as it says, and its own besides, one with an id of the set's in that one's place