updeep-remeda/lib/index.js

27 lines
565 B
JavaScript
Raw Normal View History

2015-08-05 07:25:34 +00:00
import freeze from './freeze';
2015-08-07 03:48:04 +00:00
import is from './is';
2015-08-06 06:10:16 +00:00
import ifElse from './ifElse';
2015-08-05 07:25:34 +00:00
import map from './map';
2015-08-01 15:13:25 +00:00
import omit from './omit';
import reject from './reject';
2015-08-05 07:25:34 +00:00
import update from './update';
2015-08-07 04:40:36 +00:00
import updateIn from './updateIn';
import withDefault from './withDefault';
2015-08-05 07:25:34 +00:00
2015-08-06 06:10:16 +00:00
import { placeholder as _ } from 'lodash/function/curry';
const u = update;
2015-08-06 06:10:16 +00:00
u.if = ifElse(_, _, {});
u.ifElse = ifElse;
2015-08-07 03:48:04 +00:00
u.is = is;
u.freeze = freeze;
u.map = map;
u.omit = omit;
u.reject = reject;
2015-08-07 04:40:36 +00:00
u.update = update;
u.updateIn = updateIn;
u.withDefault = withDefault;
2015-08-01 15:13:25 +00:00
export default u;