updeep-remeda/lib/index.js
Aaron Jensen 333ca47cfd Rename u.in to u.updateIn
With u.if and u.is, it was too confusing. Originally I thought that because
u stood for update, it would make sense, but as I add more functions,
I think that was wrong.
2015-08-06 20:52:06 -07:00

26 lines
546 B
JavaScript

import freeze from './freeze';
import updateIn from './updateIn';
import is from './is';
import ifElse from './ifElse';
import map from './map';
import omit from './omit';
import reject from './reject';
import withDefault from './withDefault';
import update from './update';
import { placeholder as _ } from 'lodash/function/curry';
const u = update;
u.if = ifElse(_, _, {});
u.ifElse = ifElse;
u.updateIn = updateIn;
u.is = is;
u.freeze = freeze;
u.map = map;
u.omit = omit;
u.reject = reject;
u.withDefault = withDefault;
export default u;