isValidNumberParameterValue()
Home > @gooddata/sdk-model > isValidNumberParameterValue
isValidNumberParameterValue() 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 is a finite number within the optional min/max bounds (inclusive).
Signature:
export declare function isValidNumberParameterValue(value: number, constraints?: INumberParameterConstraints): boolean;
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
value |
number | |
|
constraints |
(Optional) |
Returns:
boolean