stuff
This commit is contained in:
parent
bc92231240
commit
b8225c639e
11904 changed files with 1472749 additions and 133 deletions
23
node_modules/pac-resolver/dist/dnsDomainIs.d.ts
generated
vendored
Normal file
23
node_modules/pac-resolver/dist/dnsDomainIs.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
/**
|
||||
* Returns true iff the domain of hostname matches.
|
||||
*
|
||||
* Examples:
|
||||
*
|
||||
* ``` js
|
||||
* dnsDomainIs("www.netscape.com", ".netscape.com")
|
||||
* // is true.
|
||||
*
|
||||
* dnsDomainIs("www", ".netscape.com")
|
||||
* // is false.
|
||||
*
|
||||
* dnsDomainIs("www.mcom.com", ".netscape.com")
|
||||
* // is false.
|
||||
* ```
|
||||
*
|
||||
*
|
||||
* @param {String} host is the hostname from the URL.
|
||||
* @param {String} domain is the domain name to test the hostname against.
|
||||
* @return {Boolean} true iff the domain of the hostname matches.
|
||||
*/
|
||||
export default function dnsDomainIs(host: string, domain: string): boolean;
|
||||
//# sourceMappingURL=dnsDomainIs.d.ts.map
|
||||
Loading…
Add table
Add a link
Reference in a new issue