Tcsm
2023-08-31 d7822563b65873c59ad2363db9852782b8d5e609
1
2
3
4
5
6
7
var NO_PROTOCOL_RESOURCE_PATTERN = /^\/\//;
 
function hasProtocol(uri) {
  return !NO_PROTOCOL_RESOURCE_PATTERN.test(uri);
}
 
module.exports = hasProtocol;