UNPKG

npmchenwei111

Version:

test1111

13 lines (9 loc) 206 B
/** * Created by chenwei on 2017/8/25. */ class StringUtils { isHttpOrHttps (url) { return url && (url.startsWith('https://') || url.startsWith('http://')) } } export default new StringUtils()