Files
tianze_front/node_modules/is-what/dist/isFile.js
T
2026-11-04 14:22:20 +08:00

6 lines
161 B
JavaScript

import { getType } from './getType.js';
/** Returns whether the payload is a File */
export function isFile(payload) {
return getType(payload) === 'File';
}