NumChecks extension

on

Properties

isFinite → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isFinite is true.
no setter
isInfinite → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isInfinite is true.
no setter
isNaN → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isNaN is true.
no setter
isNegative → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isNegative is true.
no setter
isNotFinite → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isFinite is false.
no setter
isNotInfinite → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isInfinite is false.
no setter
isNotNaN → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isNaN is false.
no setter
isNotNegative → void

Available on Subject<num>, provided by the NumChecks extension

Expects that num.isNegative is false.
no setter

Methods

isCloseTo(num other, num delta) → void

Available on Subject<num>, provided by the NumChecks extension

Expects that the difference between this number and other is less than or equal to delta.