ipaddr-range?

Synopsis

(ipaddr-range? object)

Parameters

  • object

Description

This predicate returns #t if the object is an IP address range, otherwise #f.

Side Effects

Return Value

#t or #f

Example

> ipaddr-range?
#<primitive-procedure ipaddr-range?>
> (ipaddr-range? 10.0.0.0-10.0.0.255)
#t
> (ipaddr-range? fe80::18b6:417b:3344:1170-fe80::18b6:417b:3344:ffff)
#t
> (ipaddr-range? 'fe80::18b6:417b:3344:1170-ff)
#f
>