Documentation
    Preparing search index...

    Class MappableAbstract

    Index

    Constructors

    Methods

    Constructors

    Methods

    • Flat maps each element to a new iterable.

      Type Parameters

      • A
      • B

      Parameters

      • this: Iterable<A>
      • fn: (a: A) => Iterable<B>

      Returns Generator<B, void, any>

    • Maps each element to a new value.

      Type Parameters

      • A
      • B

      Parameters

      • this: Iterable<A>
      • fn: (a: A) => B

      Returns Generator<B, void, unknown>