[F] getMaxValue
function getMaxValue(program, target): number | undefined;Read the numeric @maxValue constraint as a JavaScript number.
Returns undefined when no numeric constraint is stored or a finite conversion loses precision;
throws on numeric overflow. Use getMaxValueAsNumeric to avoid number conversion.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
program | Program |
target | Type |
Returns
Section titled “Returns”number | undefined