let<ReturnType> method

ReturnType let<ReturnType>(
  1. ReturnType operationFor(
    1. T it
    )
)

Implementation

ReturnType let<ReturnType>(ReturnType Function(T it) operationFor) {
  return operationFor(this);
}