isNone top-level constant

Matcher const isNone

A matcher that verifies an Option is None.

expect(None(), isNone);
expect(Some(42), isNot(isNone));

Implementation

const Matcher isNone = _IsNone();