UNPKG

@appello/mobile

Version:

Common package with many useful features for mobile development

11 lines (10 loc) 464 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isExtractableFile = void 0; const ReactNativeFile_1 = require("../classes/ReactNativeFile"); const isExtractableFile = (value) => { return ((typeof File !== 'undefined' && value instanceof File) || (typeof Blob !== 'undefined' && value instanceof Blob) || value instanceof ReactNativeFile_1.ReactNativeFile); }; exports.isExtractableFile = isExtractableFile;