get<T> method

T get<T>()

Retrieves an instance of type T from the current scope.

Implementation

T get<T>() {
  return _get<T>(_scopes.length - 1);
}