Function is_alive

Synopsis

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

bool is_alive(flecs::entity_t e) const

Description

Check if entity id exists in the world.

See
ecs_is_alive

Source

Lines 792-794 in include/flecs/addons/cpp/world.hpp.

bool is_alive(flecs::entity_t e) const {
    return ecs_is_alive(m_world, e);
}