Skip to main content

Function: isSegmentIndexLocked()

isSegmentIndexLocked(segmentationId, segmentIndex): boolean

Get the locked status for a segment index in a segmentation

Parameters​

• segmentationId: string

The id of the segmentation that the segment belongs to.

• segmentIndex: number

The index of the segment

Returns​

boolean

A boolean value indicating whether the segment is locked or not. An undeclared segment index is not locked.

Defined in​

tools/src/stateManagement/segmentation/segmentLocking.ts:44