#include <include/flecs.h> FLECS_API bool ecs_query_orphaned(ecs_query_t *query)
Returns whether query is orphaned. When the parent query of a subquery is deleted, it is left in an orphaned state. The only valid operation on an orphaned query is deleting it. Only subqueries can be orphaned.
query- The query.
- true if query is orphaned, otherwise false.