3.0.0 • Published 3 years ago
is-blob
Check if a value is a Blob
- File-like object of immutable, raw data
Install
npm install is-blob
Usage
import isBlob from 'is-blob';
isBlob(new Blob(['<h1>Unicorns</h1>'], {type: 'text/html'}));
//=> true
Related