Skip to content

Commit c9e3910

Browse files
author
martin-dimitrov13
authored
Fixed typo in readme
1 parent da2257d commit c9e3910

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ To pass validation the result of `data instanceof ...` operation on the value sh
9696
```
9797
ajv.validate({ instanceof: 'Array' }, []); // true
9898
ajv.validate({ instanceof: 'Array' }, {}); // false
99-
ajv.validate({ instanceof: ['Array', 'Function'] }, funciton(){}); // true
99+
ajv.validate({ instanceof: ['Array', 'Function'] }, function(){}); // true
100100
```
101101

102102
You can add your own constructor function to be recognised by this keyword:

0 commit comments

Comments
 (0)