Module validators::functions

source ·
Expand description

Functions with validators.

Functions

  • is_at_least_two_labels_domaindomain or email or host or http_url or http_ftp_url
    Determine whether the input domain is has at least two labels.
  • is_local_domaindomain or email or host or http_url or http_ftp_url
    Determine whether the input domain is localhost.
  • Determine whether the input IpAddr is local.
  • is_local_ipv4domain or email or host or http_url or http_ftp_url or ip or ipv4 or ipv6
    Determine whether the input Ipv4Addr is local.
  • is_local_ipv6email or host or http_url or http_ftp_url or ip or ipv6
    Determine whether the input Ipv6Addr is local.
  • parse_ipv4_allow_an_ended_dotdomain or email or host or http_url or http_ftp_url or ip or ipv4 or ipv6
    Parse a string to Ipv4Addr, allowing an ended dot.