Skip to content

hasTag beta ​

Function of @v12-engine/engine

ts
export declare function hasTag(entity: Entity, tags: readonly string[]): boolean;

Whether the type of a unit has one of the tags (UnitTypeDef.tags)