Function ecs_id_in_use

Synopsis

#include <include/flecs.h>

FLECS_API bool ecs_id_in_use(ecs_world_t *world, ecs_id_t id)

Description

Returns whether specified id is in use. This operation returns whether an id is in use in the world. An id is in use if it has been added to one or more tables.

Parameters

world - The world.

id - The id.

Returns
Whether the id is in use.

Source

Line 2350 in include/flecs.h.