Add .isBlob() (#162)
Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
parent
6cbefb9af7
commit
5b7ea154e6
3 changed files with 17 additions and 0 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue