isIP static method

bool isIP(
  1. String input
)

Return whether input matches regex of ip address.

Implementation

static bool isIP(String input) {
  return matches(regexIp, input);
}