@@ -18,7 +18,8 @@ Used to validate whether type of unknown value is an integer.
1818<a name =" isIntegerInRange " ></a >
1919
2020## isIntegerInRange(value, [ lowerLimit] , [ upperLimit] ) ⇒ <code >boolean</code >
21- Used to validate whether type of unknown value is an integer, and, if so, is it within the option lower and upper limits.
21+ Used to validate whether type of unknown value is an integer, and, if so,
22+ is it within the option lower and upper limits.
2223
2324** Kind** : global function
2425** Returns** : <code >boolean</code > - true if value is an interger, and optionally in specified range.
@@ -29,3 +30,18 @@ Used to validate whether type of unknown value is an integer, and, if so,is it
2930| [ lowerLimit] | <code >number</code > | Optional lower limit (inclusive) |
3031| [ upperLimit] | <code >number</code > | Optional upper limit (inclusive) |
3132
33+ <a name =" isWithinRange " ></a >
34+
35+ ## isWithinRange(value, [ lowerLimit] , [ upperLimit] ) ⇒ <code >boolean</code >
36+ Used to validate whether type of unknown value is a number (including decimals),
37+ and, if so, is it within the optional lower and upper limits.
38+
39+ ** Kind** : global function
40+ ** Returns** : <code >boolean</code > - true if value is a finite number, and optionally in specified range.
41+
42+ | Param | Type | Description |
43+ | --- | --- | --- |
44+ | value | <code >\* </code > | Value for which to validate its type |
45+ | [ lowerLimit] | <code >number</code > | Optional lower limit (inclusive) |
46+ | [ upperLimit] | <code >number</code > | Optional upper limit (inclusive) |
47+
0 commit comments