Function is_self

Synopsis

#include <include/flecs/addons/cpp/iter.hpp>

bool is_self(int32_t index) const

Description

Returns whether field is matched on self.

Parameters

index - The field index.

Mentioned in

Source

Lines 238-240 in include/flecs/addons/cpp/iter.hpp.

bool is_self(int32_t index) const {
    return ecs_field_is_self(m_iter, index);
}