feat: support is.blob

This commit is contained in:
eric_wang 2022-02-26 04:51:19 +08:00
parent 6cbefb9af7
commit 07261a9760
7 changed files with 48 additions and 0 deletions

View file

@ -110,6 +110,7 @@ is.array(value, is.number); // Validate `value` is an array and all of its items
**Note:** TypeScript users must use `.function_()` because of a TypeScript naming limitation.
##### .buffer(value)
#### .blob(value)
##### .object(value)
Keep in mind that [functions are objects too](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions).