let<R> method

R let<R>(
  1. R block(
    1. T it
    )
)

Calls the specified block with the current value as its argument.

Implementation

R let<R>(R Function(T it) block) {
  return block(this);
}