find_rule method

find_rule

The findRule method returns the rule with a key matching the passed key. If no such rule exists, a null value is returned

Returns

The found rule

def find_rule(self, key):
    ...
ParameterTypeDescription
keystrThe key which described the rule to find. The key must resolve to a number between 0 and 1, or the rule is ignored.

See Also