Update README

This commit is contained in:
Aaron Jensen 2015-08-07 14:58:49 -07:00
parent 070c367810
commit f8ea61ede0

View File

@ -181,7 +181,7 @@ function inc(x) { return x + 1; }
function dec(x) { return x - 1; } function dec(x) { return x - 1; }
u({ u({
a: u.if(isEven, inc), a: u.ifElse(isEven, inc, dec),
}, object); }, object);
// => { a: 2 } // => { a: 2 }
``` ```