Skip to content

[F] getMaxValue

function getMaxValue(program, target): undefined | number;

Get the maximum value for a numeric type. If the value cannot be represented as a JS number(Overflow) undefined will be returned See getMaxValueAsNumeric to get the precise value

ParameterType
programProgram
targetType

undefined | number