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
This package is awesome. I was actually writting something exactly like this. With a few exceptional rules tho. The difference was on the wildcard *. mine doesn't require that. but seeing this is already fully featured. Let's expand on that.
Key panther does something nice, take a look at this:
vargetKeypath=require('keypather/get');varobj={foo: function(){returnfunction(){returnfunction(){return'val';};};}};getKeypath(obj,"foo()()()");// val
This should be easy to implement. Just call the function at the path end and return its value. Do that deeply as much as it takes.
The text was updated successfully, but these errors were encountered:
This package is awesome. I was actually writting something exactly like this. With a few exceptional rules tho. The difference was on the wildcard *. mine doesn't require that. but seeing this is already fully featured. Let's expand on that.
Key panther does something nice, take a look at this:
This should be easy to implement. Just call the function at the path end and return its value. Do that deeply as much as it takes.
The text was updated successfully, but these errors were encountered: