Fix some grammar
This commit is contained in:
parent
8d0f389106
commit
64b027ae81
@ -141,7 +141,7 @@ u({
|
|||||||
### `u.if(predicate(, updates)(, object))`
|
### `u.if(predicate(, updates)(, object))`
|
||||||
|
|
||||||
Apply updates only if `predicate` is truthy or, if `predicate` is a function,
|
Apply updates only if `predicate` is truthy or, if `predicate` is a function,
|
||||||
if it evaluates to truthy when called with `object`.
|
it evaluates to truthy when called with `object`.
|
||||||
|
|
||||||
```js
|
```js
|
||||||
var object = { a: 2 };
|
var object = { a: 2 };
|
||||||
|
Loading…
Reference in New Issue
Block a user