A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.geeksforgeeks.org/javascript/lodash-object-complete-reference/ below:

Lodash Object Complete Reference - GeeksforGeeks

Lodash Object Complete Reference

Last Updated : 24 Jul, 2025

Lodash is a JavaScript utility library built on top of Underscore.js. It simplifies working with arrays, strings, objects, numbers, and more. Lodash provides a wide range of built-in object functions that allow you to easily access and perform operations on objects, making object manipulation more efficient and straightforward.

Methods

Description

_.assign() It assigns the enumerable string keyed properties of the given source objects to the destination objects. _.assignIn() Tt iterates over its own and inherited source properties. _.assignInWith() It accepts customizer which is called in order to generate assigned value. _.assignWith() It accepts customizer which is called in order to generate assigned value. _.at() It creates an array of values corresponding to paths of object. _.create() It creates an object that inherits from the prototype object. _.defaults() It assigns properties of source objects to the destination object for all destination properties. _.defaultsDeep() This method recursively assigns default properties. _.entries() It creates an array of keyed-value pairs for the specified object. _.entriesIn() It creates an array of own and inherited enumerable string keyed-value pairs for the specified object. _.extend() It iterates over its own and inherited source properties. _.extendWith() It accepts customizer which is called in order to generate assigned value. _.findKey() It access each value of the collection and returns the first element that passes a truth test. _.findLastKey() It starts accessing each value from the last and returns the first element that passes a truth test. _.forIn() It Iterates over keys and values of the given object and invokes iteratee function for each property. _.forInRight() It iterates over properties of the object in the opposite order using iteratee function. _.forOwn() It iterates over the own keys of the given object and invoke iteratee for each property. _.forOwnRight() It iterates over the own keys of the given object and invoke iteratee for each property in the opposite order. _.functions() It creates an array of function property names from own enumerable properties of the given object. _.functionsIn() It creates an array of function property names from own and inherited enumerable properties of the given object. _.get() It is used to get the value at path of object. _.has() It checks whether the path is a direct property of object or not. _.hasIn() It checks whether the path is a direct or inherited property of object or not. _.invert() It returns the copy of an object where the object key is converted into value and object value is converted into the key. _.invertBy() The inverted object is generated from the results of running each element of object through iteratee. _.invoke() It is invoked the method at path of object. _.keys() It returns the list of all keys of the given object. _.keysIn() It creates an array of the own and inherited enumerable property names of object. _.mapKeys() It creates an object with the same values as the object. _.mapValues() It creates a new mapped object with the same keys of the given object. _.merge() It merges two or more objects starting with the left-most to the right-most to create a parent mapping object. _.mergeWith() It uses a customizer function that is invoked to produce the merged values of the given destination and source properties. _.omit() It returns a copy of object that composed of the own and inherited enumerable property paths that are not omitted. _.omitBy() It returns a copy of object and inherited enumerable string keyed properties that predicate doesn't return truthy for. _.pick() It returns a copy of the object that is composed of the picked object properties. .pickBy() It returns a copy of the object that composed of the object properties predicate returns truthy for. _.result() It returns the resolved values. _.set() It is used to set the value at path of object and returns a new set object. _.setWith() It accepts customizer which is invoked to produce the objects of path. _.toPairs() It creates an array of own enumerable string key-value pairs for an object. _.toPairsIn() It creates an array of own and inherited enumerable string key-value pairs for an object. _.transform() It transforms object to a new accumulator object. _.unset() It removes the property at the path of the object. _.update() It accepts updater to produce the value to set. _.updateWith() It accepts a customizer function that is invoked to produce the objects of the path. _.values() It returns the array of the own enumerable string keyed property values of the object. _.valuesIn() It returns the array of the own and inherited enumerable string keyed property values of object.

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4