Function ecs_exists

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_exists(const ecs_world_t *world, ecs_entity_t entity)

Description

Test whether an entity exists. Similar as ecs_is_alive, but ignores entity generation count.

Parameters

world - The world.

entity - The entity.

Returns
True if the entity exists, false if the entity does not exist.

Source

Line 2245 in include/flecs.h.