summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts
blob: f0cc2ec8a2292439548e1aba4df0cbb676d4dd3a (plain)
1
2
3
4
5
6
/**
 * Check if `hostname` is *probably* a valid ip addr (either ipv6 or ipv4).
 * This *will not* work on any string. We need `hostname` to be a valid
 * hostname.
 */
export default function isIp(hostname: string): boolean;