This repository has been archived on 2020-11-02. You can view files and clone it, but cannot push or open issues or pull requests.
TripSit_Suite/node_modules/object-component/Readme.md
2020-11-01 22:46:04 +00:00

31 lines
345 B
Markdown

# object
Object utils.
## API
### .keys(obj)
Return the keys for `obj`.
### .values(obj)
Return the values for `obj`.
### .length(obj)
Return the number of keys for `obj`.
### .isEmpty(obj)
Check if `obj` is empty.
### .merge(a, b)
Merge object `b` into `a`, returns `a`.
Precedence is given to `b`.
## License
MIT