Skip to content

partRefusal beta ​

Function of @v12-engine/editor

ts
export declare function partRefusal(items: readonly ItemDef[], item: string, part: string): string | undefined;

Why an item cannot be made a part of another, where it cannot: the same item, one that is not there, or one made of the other already (a loop: neither could be priced). Nothing where it can