MaybeNothing

Maybe do something, and return null.

  1. class MaybeNothing(A, B, C = void)
    class MaybeNothing : Function!(A, Maybe!B)(
    A
    B
    C = void
    ) {}
  2. auto maybeNothing(F f)

Constructors

this
this(Function!(A, C) sink)
Undocumented in source.

Members

Functions

opCall
Maybe!B opCall(A x)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

sink
Function!(A, C) sink;
Undocumented in source.

Meta