Skip to content

supplyOf beta ​

Function of @v12-engine/engine

ts
export declare function supplyOf(def: Pick<UnitTypeDef, 'supply'>): number;

What a type takes of the one pool of supply there always is (UnitTypeDef.supply, a number or its supply)