Fix missing u in readme
This commit is contained in:
parent
a7156e29a1
commit
90275489c4
@ -211,7 +211,7 @@ u({ x: u.reject(even) }, { x: [1, 2, 3, 4] });
|
|||||||
Like `u()`, but start with the default value if the original value is undefined.
|
Like `u()`, but start with the default value if the original value is undefined.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
u({ x: withDefault([], { 0: 3 }) }, {});
|
u({ x: u.withDefault([], { 0: 3 }) }, {});
|
||||||
// => { x: [3] }
|
// => { x: [3] }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user