run<ReturnType> function

ReturnType run<ReturnType>(
  1. ReturnType operation()
)

Calls the specified function operation with this value as its receiver and returns its result.

Implementation

ReturnType run<ReturnType>(ReturnType operation()) {
  return operation();
}