isPositive top-level constant

Matcher const isPositive

A matcher which matches if the match argument is positive.

Implementation

const Matcher isPositive = _OrderingMatcher(
  0,
  false,
  false,
  true,
  'a positive value',
  false,
);