Files
SnowLuma/.pnpm-store/v11/files/b9/bda708268d8a90129ef16ad59c288bd471f7b8da83c45c0846dc429f3667c3ab0836d9b0ef392e60cfede80fb531712eda39ba9beeef0b9d471d979a526478
T
TanTan 2a69b23b47
Dev Build / cleanup (push) Waiting to run
Dev Build / typecheck (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

8 lines
141 B
Plaintext

const PROTOCOL = /^([a-z][a-z\d+\-.]*:)?\/\//i;
function isAbsoluteURL(value) {
return PROTOCOL.test(value);
}
export {
isAbsoluteURL
};