run<ReturnType> function
ReturnType
run<ReturnType>(
- 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();
}