Methods
Abstract __@iterator
- __@iterator(): Iterator<T>
forEach
- forEach(projection: function, thisArg?: any): void
-
Parameters
-
projection: function
-
- (value: T, index: number): void
-
Optional thisArg: any
Returns void
pipe
-
Type parameters
Parameters
Returns IterableX<R>
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>
-
Parameters
Returns IterableX<string>
-
Type parameters
Parameters
Returns IterableX<T>
-
Type parameters
Parameters
Returns IterableX<T>
-
Type parameters
Parameters
Returns IterableX<T>
Static from
- from<TSource, TResult>(source: Iterable<TSource> | ArrayLike<TSource>, selector?: function, thisArg?: any): IterableX<TResult>
-
Type parameters
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
Parameters
Returns IterableX<TSource>
This clas serves as the base for all operations which support [Symbol.iterator].