pub fn has_component<T: SupportedValue>(
    entity: EntityId,
    component: Component<T>
) -> bool
Expand description

Checks if the entity has a component.