You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							18 lines
						
					
					
						
							373 B
						
					
					
				
			
		
		
	
	
							18 lines
						
					
					
						
							373 B
						
					
					
				| /**
 | |
|  * 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;
 |