PhaseWatchers.count

ptrdiff_t count(Slot)(WatcherKind kind, scope const(Slot)[] slots) const pure @safe nothrow @nogc

Count enabled phase watchers of a specific kind.

Parameters

kindPhase watcher kind to count.
slotsWatcher slot array to inspect.

Returns

Number of enabled watchers of the specified phase kind.