World.hasChild

Checks whether or not the given world is a child of this one.

class World
final pure nothrow @safe @nogc
bool
hasChild

Examples

if(!overworld.hasChild(nether)) {
   overworld.addChild(nether);
}

Meta