Contents

isZero

A Boolean value indicating whether this value is zero.

Declaration

var isZero: Bool { get }

Discussion

This property is true for -0.0 and +0.0 and false for all other values.

See Also

Getting a decimal’s characteristics