2025-04-24 17:03:28 +08:00

8 lines
216 B
TypeScript

/**
* Tries to resolve the hostname. Returns true if succeeds.
*
* @param {String} host is the hostname from the URL.
* @return {Boolean}
*/
export default function isResolvable(host: string): Promise<boolean>;