getCheckpoint
The getCheckpoint function returns a reactive object reflecting the label of a checkpoint, and registers a listener so that any changes will update current.
getCheckpoint(
checkpointId: MaybeGetter<string>,
checkpointsOrCheckpointsId?: MaybeGetter<undefined | CheckpointsOrCheckpointsId>,
): {current: string | undefined}| Type | Description | |
|---|---|---|
checkpointId | MaybeGetter<string> | The |
checkpointsOrCheckpointsId? | MaybeGetter<undefined | CheckpointsOrCheckpointsId> | The |
| returns | {current: string | undefined} | A reactive object with a |
Since
v8.1.0