2018-12-04 14:36:14 +08:00

6 lines
126 B
XML

function isSrc(url) {
return url.indexOf('http') === 0 || url.indexOf('data:image') === 0;
}
module.exports.isSrc = isSrc;