within<R> method

R within<R>(
  1. R mapper(
    1. T value
    )
)

Consume the using to result in a value

Implementation

R within<R>(final R Function(T value) mapper) {
  return mapper(value);
}