You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
and I would really appreciate it, if I could easily get a new path which would lose the last property accessor.
I could parse the strings, but it seems to me this would be useful feature for other people using Path objects.
so ideally:
var pathObj = Path.get('foo.arr[map]');
var parentPathObj = pathObj.toParent();
parentPathObj //should be equivalent to Path.get('foo.arr');
The text was updated successfully, but these errors were encountered:
I have a path like this for example:
and I would really appreciate it, if I could easily get a new path which would lose the last property accessor.
I could parse the strings, but it seems to me this would be useful feature for other people using Path objects.
so ideally:
The text was updated successfully, but these errors were encountered: