asLong
An exact signed 64-bit integer. A BigInt is checked directly; other values undergo numeric primitive conversion first. Fractions, NaN, infinities and values outside the Long range throw a JsError named RangeError. Negative zero becomes zero. Unlike asInt, this never wraps, truncates or saturates. A Number already rounded by JavaScript keeps that represented value; use BigInt when the original integer must retain all its digits.