Skip to content

@miyue-mma/shared / isUrlWithProtocol

函数: isUrlWithProtocol()

ts
function isUrlWithProtocol(str): boolean

校验 Url 包含协议

参数

str

string

返回

boolean

Released under the MIT License.