Skip to content

Commit

Permalink
correct function doc
Browse files Browse the repository at this point in the history
  • Loading branch information
matiasbenedetto committed Sep 12, 2023
1 parent b3ade9a commit de832bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core-data/src/utils/get-nested-value.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
*
* @param {Object} object Input object.
* @param {string|Array} path Path to the object property.
* @param {*} defaultValue Default value if the value at the specified path is nullish.
* @param {*} defaultValue Default value if the value at the specified path is undefined.
* @return {*} Value of the object property at the specified path.
*/
export default function getNestedValue( object, path, defaultValue ) {
Expand Down

0 comments on commit de832bf

Please sign in to comment.