UNPKG

@kintone/plugin-manifest-validator

Version:

[![npm version](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator.svg)](https://badge.fury.io/js/%40kintone%2Fplugin-manifest-validator) ![Node.js version](https://img.shields.io/badge/dynamic/json.svg?url=https://raw.githubusercontent.com/k

12 lines 379 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * @param {string} str * @param {boolean=} opt_allowHttp * @return {boolean} */ const validateHttpsUrl = (str, opt_allowHttp = false) => { return opt_allowHttp ? /^https?:/.test(str) : /^https:/.test(str); }; exports.default = validateHttpsUrl; //# sourceMappingURL=validate-https-url.js.map