2015-08-12 06:53:05 +00:00
|
|
|
import ifElse from './ifElse';
|
|
|
|
import curry from './util/curry';
|
|
|
|
|
|
|
|
export default curry((predicate, trueUpdates, object) =>
|
2015-09-11 18:57:39 +00:00
|
|
|
ifElse(predicate, trueUpdates, x => x, object)
|
2015-08-12 06:53:05 +00:00
|
|
|
);
|