isInAnyGroup method

bool isInAnyGroup(
  1. int entity
)

Checks if the entity belongs to any group.

Implementation

bool isInAnyGroup(int entity) => getGroups(entity) != null;