mini\Util\Math\Expr::scalarToBigInt() Method

private static

Signature

private static function scalarToBigInt(mixed $value): ?mini\Util\Math\BigInt

Parameters

Name Type Default Description
$value mixed required Documentation missing

Returns

?mini\Util\Math\BigInt

Documentation

Extract integer value from scalar as BigInt, or null if not an integer

Safe for arbitrarily large integers (no overflow).

Source

src/Util/Math/Expr.php:684-714