Instance Property
isFinite
A Boolean value indicating whether this instance is finite.
Declaration
var isFinite: Bool { get }
Discussion
All values other than NaN and infinity are considered finite, whether normal or subnormal.
See Also
Querying a Double's State
var isZero: Bool
A Boolean value indicating whether the instance is equal to zero.
var isNaN: Bool
A Boolean value indicating whether the instance is NaN (“not a number”).
var isCanonical: Bool
A Boolean value indicating whether the instance’s representation is in the canonical form.