signum

Returns 1 if this value is, positive; otherwise, 0.

BigUInt.swift:83
func signum() -> BigUInt

Returns

The sign of this number, expressed as an integer of the same type.