1.12. Get entity type
It is also possible to retrieve the EntityKind of an entity given its EntityId:
EntityKind kind = StatisticsBackend::get_type(entity_id);
get_type() throws BadParameter if there is no entity with the given ID.
It is also possible to retrieve the EntityKind of an entity given its EntityId:
EntityKind kind = StatisticsBackend::get_type(entity_id);
get_type() throws BadParameter if there is no entity with the given ID.