Function orphan

Synopsis

#include <src/entt/entity/handle.hpp>

bool orphan() const

Description

Checks if a handle has components assigned.

Return
True if the handle has no components assigned, false otherwise.

Source

Lines 269-271 in src/entt/entity/handle.hpp.

[[nodiscard]] bool orphan() const {
    return reg->orphan(entt);
}





Add Discussion

Log in to comment