@nodegui/vue-nodegui
Version:
library to render native desktop applications using vue js
15 lines • 345 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.isValidUrl = void 0;
function isValidUrl(str) {
try {
// eslint-disable-next-line no-new
new URL(str);
return true;
}
catch (_) {
return false;
}
}
exports.isValidUrl = isValidUrl;
//# sourceMappingURL=url.js.map