# checkpointCreate

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

Create one checkpoint on the active branch.

```ds title="checkpointCreate"
export declare function checkpointCreate(world: WorldHandle, name?: string | undefined, labels?: [Label] | undefined): Result<CheckpointId, HostError>
```

[language/library/src/runtime/lineage.ds:233:237](https://github.com/destack-sh/destack/blob/main/language/library/src/runtime/lineage.ds#L233-L237)
