UNPKG

@e-group/redux-modules

Version:

eGroup team react-redux modules that share across projects.

9 lines (8 loc) 217 B
import { List } from '@e-group/immutable'; const isList = List.isList; export default function merger(a, b) { if (a && a.mergeWith && !isList(a) && !isList(b)) { return a.mergeWith(merger, b); } return b; }