Skip to content

Commit d994fda

Browse files
committed
docs: generate docs
1 parent 28a73a5 commit d994fda

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1264,7 +1264,7 @@ function quux (foo) {}
12641264

12651265
Reports invalid types.
12661266

1267-
By default, ensures that case of native types is the same as in this list:
1267+
By default, ensures that the casing of native types is the same as in this list:
12681268

12691269
```
12701270
undefined
@@ -1274,6 +1274,7 @@ number
12741274
string
12751275
object
12761276
Array
1277+
Function
12771278
Date
12781279
RegExp
12791280
```
@@ -1319,9 +1320,10 @@ functions might not even support the objects if they are checking for identity.)
13191320
type name | `typeof` | check-types | testcase
13201321
--|--|--|--
13211322
**Array** | object | **Array** | `([]) instanceof Array` -> `true`
1323+
**Function** | function | **function** | `(function f () {}) instanceof Function` -> `true`
13221324
**Date** | object | **Date** | `(new Date()) instanceof Date` -> `true`
13231325
**RegExp** | object | **RegExp** | `(new RegExp(/.+/)) instanceof RegExp` -> `true`
1324-
**Object** | object | **object** | `({}) instanceof Object` -> `true` but `Object.create(null) instanceof Object` -> `false`
1326+
Object | **object** | **object** | `({}) instanceof Object` -> `true` but `Object.create(null) instanceof Object` -> `false`
13251327
Boolean | **boolean** | **boolean** | `(true) instanceof Boolean` -> **`false`**
13261328
Number | **number** | **number** | `(41) instanceof Number` -> **`false`**
13271329
String | **string** | **string** | `("test") instanceof String` -> **`false`**

0 commit comments

Comments
 (0)