The zero value.
SDK
- Xcode 10.2+
Framework
- Swift Standard Library
Declaration
static var zero: Int { get }
Discussion
Zero is the identity element for addition. For any value, x + .zero == x and .zero + x == x.
The zero value.
SDK
Framework
static var zero: Int { get }
Zero is the identity element for addition. For any value, x + .zero == x and .zero + x == x.
static var min: IntThe minimum representable integer in this type.
static var max: IntThe maximum representable integer in this type.
static var isSigned : BoolA Boolean value indicating whether this type is a signed integer type.