import { daffArrayToDict } from '@daffodil/core'
Converts an array into a dictionary. Dictionary values are keyed by the return of the specified getKey.
getKey
const daffArrayToDict: __function