is-https-resource.js 157 B

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