Interface ObjectFromArrayOptions<T>
Methods
Optional key
- key(el: unknown, i: number): PropertyKey
- key(el: unknown, i: number): DictionaryKey
Parameters
Returns PropertyKey
Parameters
Returns DictionaryKey
Optional keyConverter
- keyConverter(i: number, el: unknown): PropertyKey
- keyConverter(i: number, el: unknown): DictionaryKey
Parameters
Returns PropertyKey
Parameters
Returns DictionaryKey
Optional value
- value(el: unknown, i: number): T
- value(el: unknown, i: number): T
Parameters
Returns T
Parameters
Returns T
Optional valueConverter
- valueConverter(el: unknown, i: number): T
- valueConverter(el: unknown, i: number): T
Parameters
Returns T
Parameters
Returns T
Function that returns a key value