Contents

isSigned

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

Declaration

static var isSigned: Bool { get }

Discussion

Signed integer types can represent both positive and negative values. Unsigned integer types can represent only nonnegative values.