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

Function ArrayRemove

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

Source from the content-addressed store, hash-verified

43}
44
45static void ArrayRemove(int index)
46{
47 ScriptFrame *vframe = ScriptFrame::GetCurrentFrame();
48 Array::Ptr self = static_cast<Array::Ptr>(vframe->Self);
49 REQUIRE_NOT_NULL(self);
50 self->Remove(index);
51}
52
53static bool ArrayContains(const Value& value)
54{

Callers

nothing calls this directly

Calls 1

RemoveMethod · 0.45

Tested by

no test coverage detected