Methods
(static) isNotNull(val) → {Boolean}
- Source:
- Since:
- v0.1.0
- Signature:
-
* -> Boolean
- Category:
-
- Type
- See:
Checks if input value
is complement of null
Example
RA.isNotNull(1); //=> true
RA.isNotNull(undefined); //=> true
RA.isNotNull(null); //=> false
Parameters:
Name | Type | Description |
---|---|---|
val |
* | The value to test |
Returns:
- Type
- Boolean
(static) isNotUndefined(val) → {Boolean}
- Source:
- Since:
- v0.0.1
- Signature:
-
* -> Boolean
- Category:
-
- Type
- See:
Checks if input value
is complement undefined
Example
RA.isNotUndefined(1); //=> true
RA.isNotUndefined(undefined); //=> false
RA.isNotUndefined(null); //=> true
Parameters:
Name | Type | Description |
---|---|---|
val |
* | The value to test |
Returns:
- Type
- Boolean
(static) isNull(val) → {Boolean}
Checks if input value
is null
Example
RA.isNull(1); //=> false
RA.isNull(undefined); //=> false
RA.isNull(null); //=> true
Parameters:
Name | Type | Description |
---|---|---|
val |
* | The value to test |
Returns:
- Type
- Boolean
(static) isUndefined(val) → {Boolean}
- Source:
- Since:
- v0.0.1
- Signature:
-
* -> Boolean
- Category:
-
- Type
- See:
Checks if input value
is undefined
Example
RA.isUndefined(1); //=> false
RA.isUndefined(undefined); //=> true
RA.isUndefined(null); //=> false
Parameters:
Name | Type | Description |
---|---|---|
val |
* | The value to test |
Returns:
- Type
- Boolean