MCPcopy Create free account
hub / github.com/TanStack/router / isFullUrl

Function isFullUrl

packages/start-plugin-core/src/plugin.ts:33–40  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

31import type { PluginOption } from 'vite'
32
33function isFullUrl(str: string): boolean {
34 try {
35 new URL(str)
36 return true
37 } catch {
38 return false
39 }
40}
41
42export function TanStackStartVitePluginCore(
43 corePluginOpts: TanStackStartVitePluginCoreOptions,

Callers 1

configFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected