"use strict";
exports.__esModule = true;
exports.isImage = isImage;
functionisImage(node) {
if (!node.mimeType) {
thrownewError(`RemoteFileNode does not have a mimeType. The field is required.`);
}
return node.mimeType.startsWith(`image/`) && node.mimeType !== `image/svg+xml`;
}