Add .isBlob() (#162)

Co-authored-by: Sindre Sorhus <sindresorhus@gmail.com>
This commit is contained in:
Eric(书生) 2022-02-27 15:16:25 +08:00 committed by GitHub
parent 6cbefb9af7
commit 5b7ea154e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 17 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).