is-blob
TypeScript icon, indicating that this package has built-in type declarations

3.0.0 • Public • Published

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

  • is - Type check values

Package Sidebar

Install

npm i is-blob

Weekly Downloads

251,151

Version

3.0.0

License

MIT

Unpacked Size

2.76 kB

Total Files

5

Last publish

Collaborators

  • sindresorhus