Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface ObjectFromArrayOptions<T>

Type parameters

  • T = boolean

Hierarchy

  • ObjectFromArrayOptions

Index

Methods

  • key(el: unknown, i: number): PropertyKey
  • key(el: unknown, i: number): DictionaryKey
  • Function that returns a key value

    Parameters

    • el: unknown

      element value

    • i: number

      element index

    Returns PropertyKey

  • Function that returns a key value

    Parameters

    • el: unknown

      element value

    • i: number

      element index

    Returns DictionaryKey

  • keyConverter(i: number, el: unknown): PropertyKey
  • keyConverter(i: number, el: unknown): DictionaryKey
  • value(el: unknown, i: number): T
  • value(el: unknown, i: number): T
  • Function that returns an element value

    Parameters

    • el: unknown

      element value

    • i: number

      element index

    Returns T

  • Function that returns an element value

    Parameters

    • el: unknown

      element value

    • i: number

      element index

    Returns T

  • valueConverter(el: unknown, i: number): T
  • valueConverter(el: unknown, i: number): T