json-logic-js icon indicating copy to clipboard operation
json-logic-js copied to clipboard

Add an is_operation method

Open josephdpurcell opened this issue 1 year ago • 0 comments

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.

josephdpurcell avatar Jan 22 '23 02:01 josephdpurcell