urlsMatch.d.ts 345 B

1234567891011
  1. import '../_version.js';
  2. /**
  3. * Returns true if two URLs have the same `.href` property. The URLS can be
  4. * relative, and if they are the current location href is used to resolve URLs.
  5. *
  6. * @private
  7. * @param {string} url1
  8. * @param {string} url2
  9. * @return {boolean}
  10. */
  11. export declare function urlsMatch(url1: string, url2: string): boolean;