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

Type parameters

  • T

  • R

Hierarchy

  • IterableX<R>
    • ScanIterable

Implements

  • Iterable<R>

Index

Constructors

constructor

  • new ScanIterable(source: Iterable<T>, fn: function, seed: R[]): ScanIterable
  • Parameters

    • source: Iterable<T>
    • fn: function
        • (acc: R, x: T, index: number): R
        • Parameters

          • acc: R
          • x: T
          • index: number

          Returns R

    • seed: R[]

    Returns ScanIterable

Properties

Private _fn

_fn: function

Type declaration

    • (acc: R, x: T, index: number): R
    • Parameters

      • acc: R
      • x: T
      • index: number

      Returns R

Private _hasSeed

_hasSeed: boolean

Private Optional _seed

_seed: T | R

Private _source

_source: Iterable<T>

Static average

average: averageProto

Static buffer

buffer: bufferProto

Static catch

catch: catchProto

Static catchWith

catchWith: catchWithProto

Static chain

chain: chainProto

Static concat

concat: concatProto

Static concatAll

concatAll: concatAllProto

Static count

count: countProto

Static defaultIfEmpty

defaultIfEmpty: defaultIfEmptyProto

Static distinct

distinct: distinctProto

Static distinctUntilChanged

distinctUntilChanged: distinctUntilChangedProto

Static doWhile

doWhile: doWhileProto

Static elementAt

elementAt: elementAtProto

Static endWith

endWith: endWithProto

Static every

every: everyProto

Static except

except: exceptProto

Static expand

expand: expandProto

Static filter

filter: filterProto

Static finally

finally: finallyProto

Static find

find: findProto

Static findIndex

findIndex: findIndexProto

Static first

first: firstProto

Static flatMap

flatMap: flatMapProto

Static flatten

flatten: flattenProto

Static groupBy

groupBy: groupByProto

Static groupJoin

groupJoin: groupJoinProto

Static ignoreElements

ignoreElements: ignoreElementsProto

Static includes

includes: includesProto

Static innerJoin

innerJoin: innerJoinProto

Static intersect

intersect: intersectProto

Static isEmpty

isEmpty: isEmptyProto

Static last

last: lastProto

Static map

Static max

Static maxBy

maxBy: maxByProto

Static memoize

memoize: memoizeProto

Static min

Static minBy

minBy: minByProto

Static onErrorResumeNext

onErrorResumeNext: onErrorResumeNextProto

Static orderBy

orderBy: orderByProto

Static orderByDescending

orderByDescending: orderByDescendingProto

Static pairwise

pairwise: pairwiseProto

Static partition

partition: partitionProto

Static pluck

pluck: pluckProto

Static publish

publish: publishProto

Static reduce

reduce: reduceProto

Static reduceRight

reduceRight: reduceRightProto

Static repeat

repeat: repeatProto

Static retry

retry: retryProto

Static reverse

reverse: reverseProto

Static scan

scan: scanProto

Static scanRight

scanRight: scanRightProto

Static sequenceEqual

sequenceEqual: sequenceEqualProto

Static share

share: shareProto

Static single

single: singleProto

Static skip

skip: skipProto

Static skipLast

skipLast: skipLastProto

Static skipWhile

skipWhile: skipWhileProto

Static slice

slice: sliceProto

Static some

some: someProto

Static startWith

startWith: startWithProto

Static sum

Static take

take: takeProto

Static takeLast

takeLast: takeLastProto

Static takeWhile

takeWhile: takeWhileProto

Static tap

Static toArray

toArray: toArrayProto

Static toMap

toMap: toMapProto

Static toSet

toSet: toSetProto

Static union

union: unionProto

Static zip

Methods

__@iterator

  • __@iterator(): IterableIterator<R>

forEach

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

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

          • value: R
          • index: number

          Returns void

    • Optional thisArg: any

    Returns void

pipe

Static __@iterator

  • __@iterator(): Iterator<R>
  • Returns Iterator<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>

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>

Static pipe

  • pipe(): IterableX<R>

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