Options
All
  • Public
  • Public/Protected
  • All
Menu

Type parameters

  • T

Hierarchy

  • ImmuList

Implements

Index

Constructors

constructor

Accessors

length

length:

Methods

__@iterator

  • __@iterator(): IterableIterator<T>

append

concat

edit

  • Parameters

    • cb: function
        • (list: List<T>, ListModule: "/Users/z/Projects/Node/Hydux/hydux-mutator/node_modules/@funkia/list/index"): List<T>
        • Parameters

          • list: List<T>
          • ListModule: "/Users/z/Projects/Node/Hydux/hydux-mutator/node_modules/@funkia/list/index"

          Returns List<T>

    Returns ImmuList<T>

editWithAny

  • editWithAny<U>(cb: function): U
  • Type parameters

    • U

    Parameters

    • cb: function
        • (list: List<T>, ListModule: "/Users/z/Projects/Node/Hydux/hydux-mutator/node_modules/@funkia/list/index"): U
        • Parameters

          • list: List<T>
          • ListModule: "/Users/z/Projects/Node/Hydux/hydux-mutator/node_modules/@funkia/list/index"

          Returns U

    Returns U

entries

  • entries(): IterableIterator<[number, T]>

every

  • every(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: T, index: number, array: this): boolean
        • Parameters

          • value: T
          • index: number
          • array: this

          Returns boolean

    • Optional thisArg: any

    Returns boolean

filter

  • filter(callbackfn: function, thisArg?: any): ImmuList<T>
  • Parameters

    • callbackfn: function
        • (value: T, index: number, array: this): boolean
        • Parameters

          • value: T
          • index: number
          • array: this

          Returns boolean

    • Optional thisArg: any

    Returns ImmuList<T>

find

  • find(predicate: function, thisArg?: any): T | undefined
  • Parameters

    • predicate: function
        • (value: T, index: number, obj: this): boolean
        • Parameters

          • value: T
          • index: number
          • obj: this

          Returns boolean

    • Optional thisArg: any

    Returns T | undefined

findIndex

  • findIndex(predicate: function, thisArg?: any): number
  • Parameters

    • predicate: function
        • (value: T, index: number, obj: this): boolean
        • Parameters

          • value: T
          • index: number
          • obj: this

          Returns boolean

    • Optional thisArg: any

    Returns number

first

  • first(): undefined | T

forEach

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

    • callbackfn: function
        • (value: T, index: number, array: this): void
        • Parameters

          • value: T
          • index: number
          • array: this

          Returns void

    • Optional thisArg: any

    Returns void

get

  • get(i: number): T

includes

  • includes(item: T): boolean

indexOf

  • indexOf(searchElement: T, fromIndex?: number | undefined): number
  • Parameters

    • searchElement: T
    • Optional fromIndex: number | undefined

    Returns number

join

  • join(separator?: string | undefined): string

keys

  • keys(): IterableIterator<number>

last

  • last(): undefined | T

map

  • map<U>(callbackfn: function, thisArg?: any): ImmuList<U>
  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (value: T, index: number, array: this): U
        • Parameters

          • value: T
          • index: number
          • array: this

          Returns U

    • Optional thisArg: any

    Returns ImmuList<U>

prepend

reduce

  • reduce<U>(callbackfn: function, initialValue: U, thisArg?: any): U
  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: T, currentIndex: number, array: this): U
        • Parameters

          • previousValue: U
          • currentValue: T
          • currentIndex: number
          • array: this

          Returns U

    • initialValue: U
    • Optional thisArg: any

    Returns U

reduceRight

  • reduceRight<U>(callbackfn: function, initialValue: U, thisArg?: any): U
  • Type parameters

    • U

    Parameters

    • callbackfn: function
        • (previousValue: U, currentValue: T, currentIndex: number, array: this): U
        • Parameters

          • previousValue: U
          • currentValue: T
          • currentIndex: number
          • array: this

          Returns U

    • initialValue: U
    • Optional thisArg: any

    Returns U

remove

  • remove(from: number, amount?: number): ImmuList<T>

set

slice

  • slice(start?: number | undefined, end?: number | undefined): ImmuList<T>

some

  • some(callbackfn: function, thisArg?: any): boolean
  • Parameters

    • callbackfn: function
        • (value: T, index: number, array: this): boolean
        • Parameters

          • value: T
          • index: number
          • array: this

          Returns boolean

    • Optional thisArg: any

    Returns boolean

tail

toArray

  • toArray(): T[]

toJSON

  • toJSON(): T[]

toLocaleString

  • toLocaleString(): string

toString

  • toString(): string

values

  • values(): IterableIterator<T>

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