We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents da2257d + c9e3910 commit c5e492eCopy full SHA for c5e492e
README.md
@@ -96,7 +96,7 @@ To pass validation the result of `data instanceof ...` operation on the value sh
96
```
97
ajv.validate({ instanceof: 'Array' }, []); // true
98
ajv.validate({ instanceof: 'Array' }, {}); // false
99
-ajv.validate({ instanceof: ['Array', 'Function'] }, funciton(){}); // true
+ajv.validate({ instanceof: ['Array', 'Function'] }, function(){}); // true
100
101
102
You can add your own constructor function to be recognised by this keyword:
0 commit comments