asInt

self as an Int

BigInt.swift:397
func asInt() -> Int?

Returns

self as an Int or nil if self is not representable as an Int