UNPKG

vanillajs-browser-helpers

Version:

Collection of convenience code snippets (helpers) that aims to make it a little easier to work with vanilla JS in the browser

13 lines (12 loc) 282 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Is the given object a Blob object * * @param obj - The object to check * @return Is it a Blob object or not */ function isBlob(obj) { return obj instanceof Blob; } exports.default = isBlob;