macaddr?

Synopsis

(macaddr? object)

Parameters

  • object

Description

This predicate returns #t if the object is a MAC (Ethernet) address, otherwise #f.

Side Effects

Return Value

#t or #f

Example

> macaddr?
#<primitive-procedure macaddr?>
> (macaddr? 11:22:33:44:55:66)
#t
> (macaddr? '11:22:33:44:55:66)
#t
> (macaddr? '11:22:33:44:55:XX)
#f
>