Skip to content

Commit

Permalink
Fix isNull example and remove duplicated link
Browse files Browse the repository at this point in the history
  • Loading branch information
mantoni committed Mar 9, 2019
1 parent ece41b2 commit 3b280c1
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ These assertions are for checking for built-in types and values.
* [`isMap()`](#ismap)
* [`isNaN()`](#isnan)
* [`isNegativeInfinity()`](#isnegativeinfinity)
* [`isNull()`](#isnull)
* [`isNumber()`](#isnumber)
* [`isObject()`](#isobject)
* [`isPromise()`](#ispromise)
Expand Down Expand Up @@ -288,10 +287,10 @@ assert.isNull(object[, message])
Fails if `object` is not `null`.

```js
assert.isNull(null, "This will pass");
assert.isNull({}, "This will fail");
assert.isNull(null); // Passes
assert.isNull({}); // Fails
refute.isNull({}); // Passes
refute.isNull(null); // Fails
```

#### Messages
Expand Down

0 comments on commit 3b280c1

Please sign in to comment.