(addr? object)
object
This predicate returns #t if object is a MAC address, a MAC address range, an IP address or an IP address range (otherwise #f is returned).
#t or #f
> (addr? '10.0.0.0)
#t
> (addr? '::-::ffff)
#t
> (addr? 255)
#f
> (addr? '11:22:33:44:55:66)
#t
> (addr? '11:22:33:44:55:66-11:22:33:44:55:77)
#t
>