is-https-resource.js 157B

12345678
  1. var HTTPS_RESOURCE_PATTERN = /^https:\/\//;
  2. function isHttpsResource(uri) {
  3. return HTTPS_RESOURCE_PATTERN.test(uri);
  4. }
  5. module.exports = isHttpsResource;