This repository has been archived on 2026-03-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
StasisWarden-Legacy/node_modules/es-toolkit/dist/predicate/isFile.js
T

15 lines
295 B
JavaScript

'use strict';
Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
const isBlob = require('./isBlob.js');
function isFile(x) {
if (typeof File === 'undefined') {
return false;
}
return isBlob.isBlob(x) && x instanceof File;
}
exports.isFile = isFile;