Function is_pair

Synopsis

#include <include/flecs/addons/cpp/mixins/id/decl.hpp>

bool is_pair() const

Description

Test if id is pair (has first, second)

Mentioned in

Source

Lines 38-40 in include/flecs/addons/cpp/mixins/id/decl.hpp.

bool is_pair() const {
    return (m_id & ECS_ID_FLAGS_MASK) == flecs::Pair;
}