kisIPv4 method

bool kisIPv4(
  1. String s
)

检查字符串是否为ipv4

Implementation

bool kisIPv4(String s) => matches(_RegexConst.ipv4);