isNum top-level property

Matcher isNum
final

Asserts that a value is a num.

Implementation

final Matcher isNum = predicate((value) => value is num, 'a number')