const ValidationUtils = brackets.getModule("utils/ValidationUtils")Used to validate whether type of unknown value is an integer.
Kind: global function
Returns: boolean - true if value is a finite integer
| Param | Type | Description |
|---|---|---|
| value | * |
Value for which to validate its type |
Used to validate whether type of unknown value is an integer, and, if so, is it within the option lower and upper limits.
Kind: global function
Returns: boolean - true if value is an interger, and optionally in specified range.
| Param | Type | Description |
|---|---|---|
| value | * |
Value for which to validate its type |
| [lowerLimit] | number |
Optional lower limit (inclusive) |
| [upperLimit] | number |
Optional upper limit (inclusive) |
Used to validate whether type of unknown value is a number (including decimals), and, if so, is it within the optional lower and upper limits.
Kind: global function
Returns: boolean - true if value is a finite number, and optionally in specified range.
| Param | Type | Description |
|---|---|---|
| value | * |
Value for which to validate its type |
| [lowerLimit] | number |
Optional lower limit (inclusive) |
| [upperLimit] | number |
Optional upper limit (inclusive) |