- Source:
Members
(static) boolean
Some boolean tests. Includes: isFalse
, isTrue
.
- Source:
(static) error
Some error tests. Includes: isTypeError
.
- Source:
(static) number
Some number tests. Includes: 'isInfinite', 'isInteger', isNaN
.
- Source:
(static) object
Some object tests. Includes: isEmpty
, isPure
.
- Source:
(static) regex
Some regular expression tests. Includes: isGlobal
, isCaseInsensitive
.
- Source:
(static) string
Some string tests. Includes: isPalindrome
.
- Source:
Methods
(static) isArray(value) → {boolean}
Is it an array?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is an array or not.
- Type
- boolean
(static) isBoolean(value) → {boolean}
Is it a boolean?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a boolean or not.
- Type
- boolean
(static) isDate(value) → {boolean}
Is it a date?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a date or not.
- Type
- boolean
(static) isError(value) → {boolean}
Is it an error?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is an error or not.
- Type
- boolean
(static) isFunction(value) → {boolean}
Is it a function?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a function or not.
- Type
- boolean
(static) isNull(value) → {boolean}
Is it null?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is null or not.
- Type
- boolean
(static) isNumber(value) → {boolean}
Is it a number?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a number or not.
- Type
- boolean
(static) isObject(value) → {boolean}
Is it an object?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is an object or not.
- Type
- boolean
(static) isPrimitive(value) → {boolean}
Is it a primitive?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a primitive or not.
- Type
- boolean
(static) isRegExp(value) → {boolean}
Is it a regular expression?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a regular expression or not.
- Type
- boolean
(static) isString(value) → {boolean}
Is it a string?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a string or not.
- Type
- boolean
(static) isSymbol(value) → {boolean}
Is it a symbol?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is a symbol or not.
- Type
- boolean
(static) isUndefined(value) → {boolean}
Is it undefined?
Parameters:
Name | Type | Description |
---|---|---|
value |
* | The value to test. |
- Source:
Returns:
Whether it is undefined or not.
- Type
- boolean