isBool top-level property
Asserts that a value either equals true
or false
.
Implementation
final Matcher isBool = predicate((dynamic value) => value is bool, 'a bool');
Asserts that a value either equals true
or false
.
final Matcher isBool = predicate((dynamic value) => value is bool, 'a bool');