Object Functions
Modified on Fri, 28 Jul 2023
4 minutes read
This document is a draft version and subject to further review and revision. Please refrain from distributing or relying on its contents as final.
UI Element | Description |
---|---|
get | Get the value at `path` of `object`. If the resolved value is `undefined`, the `defaultValue` is returned in its place. |
has | Check if `path` is a direct property of `object`. |
matchesProperty | Create a function that performs a partial deep comparison between the value at `path` of a given object to `srcValue`, returning `true` if the object value is equivalent, else `false`. |
merge | This method is like `assign()` except that it recursively merges own and inherited enumerable string keyed properties of source objects into the destination object. |
size | Get the size of collection by returning its length for array-like values or the number of own enumerable string keyed properties for objects. |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article