expo-router
Version:
Expo Router is a file-based router for React Native and web applications.
8 lines • 414 B
TypeScript
/**
* Does the input string start with a valid URL scheme.
* NOTE: Additional strictness added to ensure URLs sent in query parameters for in-app navigation are not matched.
*/
export declare function hasUrlProtocolPrefix(href: string): boolean;
export declare function isWellKnownUri(href: string): boolean;
export declare function shouldLinkExternally(href: string): boolean;
//# sourceMappingURL=url.d.ts.map