MCPcopy Create free account
hub / github.com/microsoft/SandDance / isFile

Function isFile

docs/app/js/sanddance-app.js:55300–55302  ·  view source on GitHub ↗
(x)

Source from the content-addressed store, hash-verified

55298 return typeof Response !== "undefined" && x instanceof Response || x && x.arrayBuffer && x.text && x.json;
55299};
55300var isFile = function isFile(x) {
55301 return typeof File !== "undefined" && x instanceof File;
55302};
55303var isBlob = function isBlob(x) {
55304 return typeof Blob !== "undefined" && x instanceof Blob;
55305};

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected