simplify
simplify_json_logic(rule)
Simplify a given JSON Logic rule.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
rule |
Dict
|
parsed JSON Logic rule definition |
required |
Returns:
| Type | Description |
|---|---|
|
simplified JSON Logic rule definition after applying the simplifiers |
Source code in json_logic_asp/simplifier/simplify.py
6 7 8 9 10 11 12 13 14 15 16 17 | |