json-logic-js
json-logic-js copied to clipboard
Add an is_operation method
Fixes https://github.com/jwadhams/json-logic-js/issues/122 at least partially.
I think this functionality would pair nicely with https://github.com/jwadhams/json-logic-js/issues/116, which would allow a custom operation to know whether a given key is a valid operation or not, e.g. if someone wanted to implement their own traversal logic.