Mac.is_local_mac
You're seeing just the macro
is_local_mac
, go back to Mac module for more information.
Specs
checks to see if a value is a local mac address, by convention it means it has been assigned by a VM system.
usable in guards.
iex> Mac.is_local_mac({0xF2, 0, 0, 1, 1, 1})
true
iex> Mac.is_local_mac({0xF0, 0, 0, 1, 1, 1})
false