limitMatchesWatcher

fnbool limitMatchesWatcher(LimitKind limit, WatcherKind wkind) pure @safe nothrow @nogc

Check whether a watcher kind matches a given limit category.

Parameters

limitThe limit category to check.
wkindThe watcher kind to test.

Returns

true if the watcher kind is affected by the limit.