iter-fns - v0.13.0
    Preparing search index...

    Interface SizedIterable<T>

    An iterable that has an exact size.

    If shims is imported, this will be available for built in types.

    interface SizedIterable<T> {
        "[iterableSize]"(): number;
        "[iterator]"(): Iterator<T>;
    }

    Type Parameters

    • T

      type of item yielded by the iterator

    Hierarchy (View Summary)

    Index

    Methods

    • Returns the exact count of items in the iterable.

      Returns number