1. Int
  2. zero
    1. 2.41.1
    2. 2.41.0
    3. 2.40.0
    4. 2.39.0
    5. 2.38.0
    Type PropertySwiftNIOConcurrencyHelpersSwift

    zero

    The zero value.

    • Available because Self conforms to AdditiveArithmetic.

    • Available when Self conforms to ExpressibleByIntegerLiteral

    static var zero: Self { get }

    Overview

    Zero is the identity element for addition. For any value, x + .zero == x and .zero + x == x.