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

Function ncontains

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

Source from the content-addressed store, hash-verified

197
198
199def ncontains(value, criteria_pattern):
200 if criteria_pattern is None:
201 return False
202
203 value, criteria_pattern = ensure_operators_are_strings(value, criteria_pattern)
204 return criteria_pattern not in value
205
206
207def incontains(value, criteria_pattern):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected