isInt top-level property

Matcher isInt
final

Asserts that a value is an int.

Implementation

final Matcher isInt = predicate((value) => value is int, 'an integer')