run<ReturnType> function

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

Implementation

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