toRecord
Defined in: aa-sdk/core/src/utils/index.ts:177
Converts an array of objects into a record (object) where each key is determined by the specified selector and the value is determined by the provided function.
Example
Type Parameters
Parameters
Returns
Record<T[K], V>
The resulting record object