mxr-image-utils
Version:
A image utils library.
15 lines (14 loc) • 341 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.Utils = void 0;
class Utils {
static separateBase64(base64) {
const [, rest] = base64.split(",");
return rest;
}
;
static verifyTypes(type, types) {
return types.some(x => x === type);
}
}
exports.Utils = Utils;
;