callCasted<R> method

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

Calls f casting T.

Implementation

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