MCPcopy Create free account
hub / github.com/StackStorm/st2 / iequals

Function iequals

st2common/st2common/operators.py:175–180  ·  view source on GitHub ↗
(value, criteria_pattern)

Source from the content-addressed store, hash-verified

173
174
175def iequals(value, criteria_pattern):
176 if criteria_pattern is None:
177 return False
178
179 value, criteria_pattern = ensure_operators_are_strings(value, criteria_pattern)
180 return value.lower() == criteria_pattern.lower()
181
182
183def contains(value, criteria_pattern):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected