Lodash.invert

Creates an object composed of the inverted keys and values of object. If object contains duplicate values, subsequent values overwrite property assignments of previous values.

struct Lodash
nothrow @trusted @safe ref
invert
()
()

Return Value

Type: auto ref

- Lodash chained on (Object): the new inverted object.

Meta