Introduction
Migration
Appearance
import { toMap } from "@tsed/core";
See /packages/core/src/types/utils/objects/toMap.ts.
function toMap<K extends keyof any = any, V = any>(input: Record<K, V> | V[], keyOrFn?: ToMapIdentity<V>): Map<K, V>;