as<T> method

Iterable<T> as<T>(
  1. T f(
    1. E e
    )
)

Returns a new lazy Iterable of Type by applying the transformation function.

Shorthand for Iterable<T>.map<T>(f);

Implementation

Iterable<T> as<T>(T f(E e)) => map<T>(f);