synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
8 lines • 343 B
TypeScript
/**
* Determines whether a given URL is external relative to the current page.
*
* @param url - The URL to check. Can be relative or absolute.
* @returns true if the link points to a different origin (external), false otherwise.
*/
export declare function isExternalLink(url: string): boolean;
//# sourceMappingURL=IsExternalLink.d.ts.map