Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/somefn/js/ip.ts>checkIPv4

some functions for deno
Go to Latest
function checkIPv4
import { checkIPv4 } from "https://deno.land/x/somefn@v0.27.0/js/ip.ts";

检查是否是 IPv4

Parameters

str: string

任意可能是 IP 的字符串

Returns

boolean