You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
345 B
Markdown
31 lines
345 B
Markdown
5 years ago
|
|
||
|
# 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
|