UNPKG

@visactor/vrender-core

Version:

```typescript import { xxx } from '@visactor/vrender-core'; ```

15 lines (11 loc) 345 B
"use strict"; function isSvg(str) { return str.startsWith("<svg") || str.startsWith("<?xml"); } function isXML(str) { return str.startsWith("<"); } Object.defineProperty(exports, "__esModule", { value: !0 }), exports.isXML = exports.isSvg = void 0, exports.isSvg = isSvg, exports.isXML = isXML; //# sourceMappingURL=is-xml.js.map