# worldBranch

`import { worldBranch } from "destack:runtime";`

Return the active branch for one world.

```ds title="worldBranch"
export declare function worldBranch(world: WorldHandle): Result<BranchId, HostError>
```

[language/library/src/runtime/lineage.ds:151](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/lineage.ds#L151)
