is-blob ![Build Status](https://camo.githubusercontent.com/d7bd7e645389f150c5e77bd32c9b20c13a0d6864ae28c314393d3af1c5f7a5c8/68747470733a2f2f7472617669732d63692e6f72672f73696e647265736f726875732f69732d626c6f622e7376673f6272616e63683d6d6173746572)
Check if a value is a
Blob
- File-like object of immutable, raw data
Blob
is only available in the browser. In Node.js, it always returns false
.
Install
$ npm install is-blob
Usage
const isBlob = require('is-blob');
isBlob(new Blob(['<h1>Unicorns</h1>'], {type: 'text/html'}));
//=> true
Related
- is - Type check values