MCPcopy Create free account
hub / github.com/Icinga/icinga2 / ArrayContains

Function ArrayContains

lib/base/array-script.cpp:53–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51}
52
53static bool ArrayContains(const Value& value)
54{
55 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
56 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
57 REQUIRE_NOT_NULL(self);
58 return self->Contains(value);
59}
60
61static void ArrayClear()
62{

Callers

nothing calls this directly

Calls 1

ContainsMethod · 0.45

Tested by

no test coverage detected