callCasted<R> method

R callCasted<R>(
  1. R f<T>()
)

Calls f casting T.

Implementation

R callCasted<R>(R Function<T>() f) {
  return f<T>();
}