Function exists

Synopsis

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

bool exists(flecs::entity_t e) const

Description

Check if entity id exists in the world.

See
ecs_exists

Source

Lines 784-786 in include/flecs/addons/cpp/world.hpp.

bool exists(flecs::entity_t e) const {
    return ecs_exists(m_world, e);
}