isFile.js 194 B

123456
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. exports.isFile = void 0;
  4. exports.isFile = obj => {
  5. return typeof File !== 'undefined' && obj instanceof File;
  6. };