isNonNegative top-level constant
Matcher
const isNonNegative
A matcher which matches if the match argument is zero or positive.
Implementation
const Matcher isNonNegative = _OrderingMatcher(
0,
true,
false,
true,
'a non-negative value',
false,
);