UNPKG

jointjs

Version:

JavaScript diagramming library

7 lines (4 loc) 342 B
<pre class="docs-method-signature"><code>util.getByPath(object, path, delim)</code></pre> <p>Return a value at the <code>path</code> in a nested <code>object</code>. <code>delim</code> is the delimiter used in the <code>path</code> Example:</p> <pre><code>joint.util.getByPath({ a: { aa: { aaa: 3 } } }, 'a/aa/aaa', '/'); // 3</code></pre>