rankOf beta
Function of @v12-engine/engine
ts
export declare function rankOf(entity: Entity, ranks?: readonly VeterancyRank[]): VeterancyRank | undefined;The rank a unit has reached, as a definition, or none: of the game's ranks (VeterancyOptions.ranks)