diff --git a/README.md b/README.md index d75ce6b..21b4e75 100644 --- a/README.md +++ b/README.md @@ -181,7 +181,7 @@ function inc(x) { return x + 1; } function dec(x) { return x - 1; } u({ - a: u.if(isEven, inc), + a: u.ifElse(isEven, inc, dec), }, object); // => { a: 2 } ```