NumChecks extension

on

Methods

isCloseTo(num other, num delta) → void
Expects that the difference between this number and other is less than or equal to delta.
isFinite() → void
Expects that num.isFinite is true.
isInfinite() → void
Expects that num.isInfinite is true.
isNaN() → void
Expects that num.isNaN is true.
isNegative() → void
Expects that num.isNegative is true.
isNotFinite() → void
Expects that num.isFinite is false.
isNotInfinite() → void
Expects that num.isInfinite is false.
isNotNaN() → void
Expects that num.isNaN is false.
isNotNegative() → void
Expects that num.isNegative is false.