immutable-path
Version:
Immutable `get`, `set`, `has`, `unset` deep path operations libraray for object, array and `Map`.
9 lines • 305 B
TypeScript
/**
* Returns a map constructed from given object.
*
* @ignore
* @param object is the object to create `Map` from.
* @returns `Map` created from object.
*/
export default function mapFrom<K extends string | number | symbol, V>(object: Record<K, V>): Map<K, V>;
//# sourceMappingURL=map-from.d.ts.map