Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
File size: 124 Bytes
94753b6 |
1 2 3 4 |
export function isUrl(modelOrUrl: string): boolean {
return /^http(s?):/.test(modelOrUrl) || modelOrUrl.startsWith("/");
}
|