import * as ramda from "https://deno.land/x/ramda@v0.27.2/source/invert.js"; VariablesvdefaultSame as R.invertObj, however this accounts for objects with duplicate values by putting the values into an array.