Options
All
  • Public
  • Public/Protected
  • All
Menu

Ordered sequence of elements

Type parameters

  • TItem

Hierarchy

Implements

Index

Constructors

constructor

Methods

__@iterator

  • __@iterator(): Iterator<TItem>

concat

  • concat<TOther>(...others: Iterable<TOther>[]): Sequence<TItem | TOther>

distinct

every

filter

find

  • find(predicate: PredicateFn<TItem>): TItem | undefined

first

  • first(): TItem | undefined

flatMap

  • flatMap<TResultItem>(mapperFn: MapFn<TItem, TResultItem[]>): Sequence<TResultItem>

forEach

groupBy

includes

  • includes(searchItem: TItem): boolean

isEmpty

  • isEmpty(): boolean

last

  • last(): TItem | undefined

map

  • map<TResultItem>(mapFn: MapFn<TItem, TResultItem>): Sequence<TResultItem>

pick

  • pick<TKeys>(...keys: TKeys[]): Sequence<object>

prepend

  • prepend(...items: Iterable<TItem>[]): Sequence<TItem>

reduce

  • reduce<TResult>(callback: ReduceCallbackFn<TResult, TItem>, accumulator: TResult): TResult

reverse

skip

  • skip(howMany: number): Sequence<TItem>

skipWhile

some

sortBy

sortByDescending

sum

  • sum<TItem>(): number
  • sum<TItem>(): string
  • sum<TResult>(valueSelector: MapFn<TItem, TResult>): number
  • sum<TResult>(valueSelector: MapFn<TItem, TResult>): string

take

  • take(howMany: number): Sequence<TItem>

takeWhile

thenBy

thenByDescending

toArray

  • toArray(): TItem[]

toMap

  • toMap<TKey, TElement>(keySelectorFn: MapFn<TItem, TKey>, elementSelectorFn?: MapFn<TItem, TElement>): Map<TKey, TElement>

toObject

toSet

  • toSet(): Set<TItem>

toString

  • toString(separator?: string): string

without

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