Files
vps-management-bot/node_modules/pac-resolver/dist/isPlainHostName.d.ts

18 lines
418 B
TypeScript
Raw Normal View History

2026-03-21 01:10:53 +08:00
/**
* True iff there is no domain name in the hostname (no dots).
*
* Examples:
*
* ``` js
* isPlainHostName("www")
* // is true.
*
* isPlainHostName("www.netscape.com")
* // is false.
* ```
*
* @param {String} host The hostname from the URL (excluding port number).
* @return {Boolean}
*/
export default function isPlainHostName(host: string): boolean;
//# sourceMappingURL=isPlainHostName.d.ts.map