var._tryToLong

private bool _tryToLong(out long outValue) const @safe

Attempt to convert an integer value to long without overflow.

Returns

true on success; false when the value is not representable as long.