-
Empty element.
The empty element must obey the monoid laws:
a.combine(empty()) == empty().combine(a) == a
That is, combining any element with
empty
must return the original element.Declaration
Swift
static func empty() -> Self
Return Value
A value of the implementing type satisfying the monoid laws.