Skip to content

petite-utils • Docs


函数: isHttpUrl() ​

isHttpUrl(string): boolean

参数 ​

参数名类型描述
stringstring检查字符串是否为 http 地址

返回值 ​

boolean

源码 ​

type/isHttpUrl.ts:13

Released under the MIT License.