Skip to content

[F] getMinLengthAsNumeric

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

Get the minimum length of a string type as a Numeric value.

ParameterTypeDescription
programProgramCurrent program
targetTypeType with the @minLength decorator

undefined | Numeric