aboutsummaryrefslogtreecommitdiffhomepage
path: root/node_modules/object-component/Readme.md
blob: 2c1f2d67694ca7ce3c4931db450a275944e05408 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# 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