let<U> method

U let<U>(
  1. LetFunction<T, U> block
)

Calls the specified function block with this value as its argument and returns its result.

Implementation

U let<U>(LetFunction<T, U> block) => block(this);