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

Function equals

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

Source from the content-addressed store, hash-verified

160
161
162def equals(value, criteria_pattern):
163 if criteria_pattern is None:
164 return False
165
166 value, criteria_pattern = ensure_operators_are_strings(value, criteria_pattern)
167 return value == criteria_pattern
168
169
170def nequals(value, criteria_pattern):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected