Latest
function default
import { default } from "https://dotland.deno.dev/x/lodash_es@v0.0.2/src/fromPairs.js";

The inverse of _.toPairs; this method returns an object composed from key-value pairs.

Examples

_.fromPairs([['a', 1], ['b', 2]]); // => { 'a': 1, 'b': 2 }

Parameters

pairs

The key-value pairs.