Instance Property

isInfinite

A Boolean value indicating whether the instance is infinite.

Required.

Declaration

var isInfinite: Bool { get }

Discussion

Note that isFinite and isInfinite do not form a dichotomy, because they are not total: If x is NaN, then both properties are false.