Bones/node_modules/object-component/Readme.md
SOUTHERNCO\x2mjbyrn 7efe7605b8 Template Upload
2017-05-17 13:45:25 -04: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