Home Manual Reference Source

src/fromMap.js

/**
 * Instantiate a mapping from a map.
 *
 * @param {Map} map The input map.
 * @return {IterableIterator} The output mapping.
 */
const fromMap = (map) => map.entries();
export default fromMap;