ix
Options
All
  • Public
  • Public/Protected
  • All
Menu

This clas serves as the base for all operations which support [Symbol.iterator].

Type parameters

  • T

Hierarchy

  • IterableX

Implements

  • Iterable<T>

Index

Methods

Abstract __@iterator

  • __@iterator(): Iterator<T>

forEach

  • forEach(projection: function, thisArg?: any): void
  • Parameters

    • projection: function
        • (value: T, index: number): void
        • Parameters

          • value: T
          • index: number

          Returns void

    • Optional thisArg: any

    Returns void

pipe

Static as

  • as(source: string): IterableX<string>
  • as<T>(source: Iterable<T>): IterableX<T>
  • as<T>(source: ArrayLike<T>): IterableX<T>
  • as<T>(source: T): IterableX<T>

Static from

  • from<TSource, TResult>(source: Iterable<TSource> | ArrayLike<TSource>, selector?: function, thisArg?: any): IterableX<TResult>
  • Type parameters

    • TSource

    • TResult

    Parameters

    • source: Iterable<TSource> | ArrayLike<TSource>
    • Default value selector: function = identity
        • (value: TSource, index: number): TResult
        • Parameters

          • value: TSource
          • index: number

          Returns TResult

    • Optional thisArg: any

    Returns IterableX<TResult>

Static of

  • of<TSource>(...args: TSource[]): IterableX<TSource>
  • Type parameters

    • TSource

    Parameters

    • Rest ...args: TSource[]

    Returns IterableX<TSource>

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc