BigInt.toLong

Returns the value of this BigInt as a long, or +- long.max if outside the representable range.

struct BigInt
long
toLong
()

Meta