Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Functions

getFirstInList

  • getFirstInList<V, K>(list: ReadList<V, K>, returnKey?: true): K
  • getFirstInList<V, K>(list: ReadList<V, K>, returnKey?: false | boolean): V

getLastInList

  • getLastInList<V, K>(list: ReadList<V, K>, returnKey?: true): K
  • getLastInList<V, K>(list: ReadList<V, K>, returnKey?: false | boolean): V

getListKeys

  • getListKeys<K>(list: ReadList<any, K>): K[]

getListSize

  • getListSize<V, K>(list: ReadList<V, K>): number

getListType

getListValue

  • getListValue<V, K>(list: ReadList<V, K>, key: K): undefined | V

getNewList

getNthInList

  • getNthInList<V, K>(list: ReadList<V, K>, index: number, returnKey?: true): K
  • getNthInList<V, K>(list: ReadList<V, K>, index: number, returnKey?: false | boolean): V

listIntersect

  • listIntersect<V1, K1, V2, K2>(a: ReadList<V1, K1>, b: ReadList<V2, K2>): (V1 | V2)[]

listTypeSwitch

setListValue

  • setListValue<V, K>(list: List<V, K>, value: V, key?: K): void
  • Sets a value for a given key in the given list.

    Type parameters

    • V

    • K

    Parameters

    • list: List<V, K>
    • value: V
    • Optional key: K

    Returns void

Generated using TypeDoc