isNum top-level property
Asserts that a value is a num
.
Implementation
final Matcher isNum = predicate((dynamic value) => value is num, 'a number');
Asserts that a value is a num
.
final Matcher isNum = predicate((dynamic value) => value is num, 'a number');