/ls-lodash

Lodash mixins

Primary LanguageJavaScript

ls-lodash

Snuffles

Usage

var _ = require('ls-lodash'),
    merged = _.safeMerge({},{});

API

safeMerge

_.safeMerge([source], [callback], [thisArg])
Arguments
  1. [source] (...Object) The source objects
  2. [callback] (Function) The function to customize merging properties
  3. [thisArg] (*) The this binding of callback

Effectively equivalent to _.partial(_.merge, {});

See https://lodash.com/docs#merge