isValidStringParameterValue()
Home > @gooddata/sdk-model > isValidStringParameterValue
isValidStringParameterValue() function
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Tests whether value satisfies the optional minLength/maxLength bounds (inclusive).
Signature:
export declare function isValidStringParameterValue(value: string, constraints?: IStringParameterConstraints): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
value |
string | |
|
constraints |
(Optional) |
Returns:
boolean