Files
NapCatQQ/.pnpm-store/v3/files/38/2d0712999239e6304995d302376f1df3a7ecf705fdc15534f8308e8c804adb8af25c2c4e2dc101c92c453da11df3675e8bbe58ce6b9c3695dad8aa40e6aa6e
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

10 lines
136 B
Plaintext

export function isValidUrl(string: string) {
try {
new URL(string)
} catch (_) {
return false
}
return true
}