let

R let<R>(

  1. R op(
    1. T
    )
)

Apply function op to this value if non-null and return the result.

Implementation

R let<R>(R Function(T) op) => op(this);