Skip to content

@miyue-mma/shared / isIP

函数: isIP()

ts
function isIP(str, withPort?): boolean

校验 ip 地址

参数

str

string

withPort?

boolean

返回

boolean

Released under the MIT License.