Network
The Network registry includes a range of utilities for working with network resources, such as IP addresses, CIDR blocks, and network interfaces.
parseIP
{{ parseIP "10.42.0.1" }} // Output: 10.42.0.1
{{ parseIP "2001:db8::" }} // Output: 2001:db8::parseMAC
{{ parseMAC "01:23:45:67:89:ab" }} // Output: 01:23:45:67:89:abparseCIDR
{{ parseCIDR "192.168.0.0/24" }} // Output: 192.168.0.0/24
{{ parseCIDR "2001:db8::/32" }} // Output: 2001:db8::/32ipVersion
ipIsLoopback
ipIsGlobalUnicast
ipIsMulticast
ipIsPrivate
ipIncrement
ipDecrement
cidrContains
cidrSize
cidrRangeList
cidrFirst
cidrLast
cidrOverlap
Last updated