Class Address

extends Object

Class summary


Constructors

Statics

Variant of parse str [--if-error] that throws on errors.

parse str/string [--on-error] -> Address
Deprecated. Use parse str [--if-error] instead.

parse str/string [--if-error] -> Address
Parses the given str as MAC address.
The if-error block is called when the str is not a valid MAC address. The result of the block is then returned. As such, it must be of type Address, or null.

Fields