How to use is-extendable - 1 common examples

To help you get started, we’ve selected a few is-extendable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github hjkcai / vue-modal-dialogs / src / util.js View on Github external
forOwn(current, function (value, key) {
      var val = target[key]
      // add the missing property, or allow a null property to be updated
      if (val == null) {
        target[key] = value
      } else if (isObject(val) && isObject(value)) {
        target[key] = defaultsDeep(val, value)
      }
    })
  }

is-extendable

Returns true if a value is a plain object, array or function.

MIT
Latest version published 7 years ago

Package Health Score

68 / 100
Full package analysis

Popular is-extendable functions