Type Property

isSigned

A Boolean value indicating whether this type is a signed integer type.

Declaration

static var isSigned: Bool { get }

Discussion

This property is always true for signed integer types.

See Also

Accessing Numeric Constants

static var zero: Int

The zero value.

static var min: Int

The minimum representable integer in this type.

static var max: Int

The maximum representable integer in this type.