Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ISequence<T>

Type parameters

  • T

Hierarchy

Index

Properties

length

length: number

Methods

__@iterator

  • __@iterator(): Iterator<T>
  • Returns Iterator<T>

every

  • every(callback: function): boolean
  • Parameters

    • callback: function
        • (v: T, i: number): boolean
        • Parameters

          • v: T
          • i: number

          Returns boolean

    Returns boolean

filter

forEach

  • forEach(callback: function): void

map

reduce

  • reduce<U>(callback: function, initial: U): U
  • Type parameters

    • U

    Parameters

    • callback: function
        • (acc: U, v: T, i: number): U
        • Parameters

          • acc: U
          • v: T
          • i: number

          Returns U

    • initial: U

    Returns U

some

  • some(callback: function): boolean
  • Parameters

    • callback: function
        • (v: T, i: number): boolean
        • Parameters

          • v: T
          • i: number

          Returns boolean

    Returns boolean