summaryrefslogtreecommitdiff
path: root/bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts')
-rw-r--r--bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts b/bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts
new file mode 100644
index 00000000..f0cc2ec8
--- /dev/null
+++ b/bin/wiki/ImportarDesdeURL/node_modules/tldts-core/dist/types/src/is-ip.d.ts
@@ -0,0 +1,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;