Travis build: 695 [ci skip]

This commit is contained in:
Travis CI
2017-12-31 10:31:45 +00:00
parent 02f0c40e36
commit 8f287c758b
3 changed files with 30 additions and 3 deletions

View File

@ -243,6 +243,7 @@
* [`isArray`](#isarray) * [`isArray`](#isarray)
* [`isBoolean`](#isboolean) * [`isBoolean`](#isboolean)
* [`isFunction`](#isfunction) * [`isFunction`](#isfunction)
* [`isNull`](#isnull)
* [`isNumber`](#isnumber) * [`isNumber`](#isnumber)
* [`isString`](#isstring) * [`isString`](#isstring)
* [`isSymbol`](#issymbol) * [`isSymbol`](#issymbol)
@ -3994,6 +3995,29 @@ isFunction(x => x); // true
<br>[⬆ Back to top](#table-of-contents) <br>[⬆ Back to top](#table-of-contents)
### isNull
Returns `true` if the specified value is `null`, `false` otherwise.
Use the strict equality operator to check if the value and of `val` are equal to `null`.
```js
const isNull = val => val === null;
```
<details>
<summary>Examples</summary>
```js
isNull(null); // true
isNull('null'); // false
```
</details>
<br>[⬆ Back to top](#table-of-contents)
### isNumber ### isNumber
Checks if the given argument is a number. Checks if the given argument is a number.

File diff suppressed because one or more lines are too long

View File

@ -9,6 +9,6 @@ const isNull = val => val === null;
``` ```
```js ```js
isNull(null) // true isNull(null); // true
isNull('null') // false isNull('null'); // false
``` ```