Interface EnumerableStatic

Index

Construct signatures

Methods

Construct signatures

constructor(getEnumerator: () => Ix.Enumerator<T>): Enumerable

Parameters

  • getEnumerator: () => Ix.Enumerator<T>

Returns

Enumerable

Methods

public concat(sources?: Enumerable[]): Enumerable

Parameters

Returns

Enumerable

public create(getEnumerator: () => Ix.Enumerator<T>): Enumerable

Parameters

  • getEnumerator: () => Ix.Enumerator<T>

Returns

Enumerable

public empty(): Enumerable

Returns

Enumerable

public fromArray(array: Array<T>): Enumerable

Parameters

  • array: Array<T>

Returns

Enumerable

public range(start: number, count: number): Enumerable

Parameters

  • start: number
  • count: number

Returns

Enumerable

public repeat(value: T, repeatCount?: number): Enumerable

Parameters

  • value: T
  • repeatCount?: number optional

Returns

Enumerable

public return(value: T): Enumerable

Parameters

  • value: T

Returns

Enumerable

public returnValue(value: T): Enumerable

Parameters

  • value: T

Returns

Enumerable

public sequenceEqual(first: Enumerable, second: Enumerable, comparer: EqualityComparer): boolean

Parameters

Returns

boolean

public sequenceEqual(first: Enumerable, second: Enumerable): boolean

Parameters

Returns

boolean