hasSlot method

bool hasSlot(
  1. TSlot slot
)

Returns whether the registry has any contributions for slot.

Implementation

bool hasSlot(TSlot slot) {
  return _registrations.any((registration) => registration.slot == slot);
}