Skip to main content
The Deno 2 Release Candidate is 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.30.0/js/ip.ts";

检查是否是 IPv4

Parameters

str: string

任意可能是 IP 的字符串

Returns

boolean