isNone top-level constant
Matcher
const isNone
Matches if the object is of type None
Example :
The following test is successfull if and only if
option.isNone()
returns true
Option<String> option = fetchData();
expect(option, isNone);
Implementation
const Matcher isNone = _IsNone();