isValidStringParameterValue()
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Tests whether value is a valid value for a STRING parameter with the given constraints (length bounds and allowedValues membership; see IParameterAllowedValue).
export declare function isValidStringParameterValue(value: string, constraints?: IStringParameterConstraints): boolean;
Parameters
Parameter | Type | Description |
|---|---|---|
value | string | |
constraints | (Optional) |
Returns
boolean