How to use the object-path.coalesce function in object-path

To help you get started, we’ve selected a few object-path 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 Autodesk / clearx / src / store.js View on Github external
coalesce (keys, defaultValue) {
    return objectpath.coalesce(this.data, keys, defaultValue)
  }
  // empty a given path (but do not delete it) depending on their type,so it retains reference to objects and arrays.

object-path

Access deep object properties using a path

MIT
Latest version published 3 years ago

Package Health Score

70 / 100
Full package analysis