Skip to content

[F] getMaxValueExclusiveAsNumeric

function getMaxValueExclusiveAsNumeric(program, target): Numeric | undefined;

Get the maximum value exclusive for a numeric type. If the value cannot be represented as a JS number(Overflow) undefined will be returned

ParameterType
programProgram
targetType

Numeric | undefined