MicroRuleEngine icon indicating copy to clipboard operation
MicroRuleEngine copied to clipboard

Can you request an element by name in a dictionary?

Open dthk-cogmatix opened this issue 5 years ago • 3 comments

Would it be possible to access a dictionary by name?

example) myDict["KeyName"]

dthk-cogmatix avatar Dec 27 '19 17:12 dthk-cogmatix

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.

runxc1 avatar Jan 17 '20 00:01 runxc1

I've got this….

jamescurran avatar Apr 01 '20 17:04 jamescurran

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

jamescurran avatar Apr 01 '20 18:04 jamescurran