Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you request an element by name in a dictionary? #18

Open
dthk-cogmatix opened this issue Dec 27, 2019 · 3 comments
Open

Can you request an element by name in a dictionary? #18

dthk-cogmatix opened this issue Dec 27, 2019 · 3 comments

Comments

@dthk-cogmatix
Copy link

Would it be possible to access a dictionary by name?

example)
myDict["KeyName"]

@runxc1
Copy link
Owner

runxc1 commented Jan 17, 2020

So currently no there really isn't an a way to write a rule for a dictionary as such but someone went and added a way to specify an the index of something in a collection so I am pretty sure if you could add it in a similar way if you looked at the code.

@jamescurran
Copy link
Contributor

I've got this….

@jamescurran
Copy link
Contributor

Not that I intended it to (I was trying to create two separate Pull requests), but this was included in Pull Request #21

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants