isNonPositive top-level constant

Matcher const isNonPositive

A matcher which matches if the match argument is zero or negative.

Implementation

const Matcher isNonPositive = _OrderingMatcher(
  0,
  true,
  true,
  false,
  'a non-positive value',
  false,
);