let<R> method

R let<R>(
  1. R f(
    1. T
    )
)

Kotlin style of coding This could be used on the Nullable objects to do some operation on it after we make sure that it's not null

Implementation

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