import { isIp } from "https://deno.land/x/polkadot@0.2.11/util/is/index.ts";
Examples
import { isIp } from 'https://deno.land/x/polkadot@0.2.11/util/mod.ts';
isIp('192.168.0.1')); // => true
isIp('1:2:3:4:5:6:7:8'); // => true
isIp('192.168.0.1', 'v6')); // => false
isIp('1:2:3:4:5:6:7:8', 'v4'); // => false