Skip to main content

Function: getVolumeId()

getVolumeId(targetId): string

Retrieves the volume ID from a target ID. Target Id is not only volumeId but might include other information, but it starts with volumeId.

Parameters

targetId: string

The target ID from which to extract the volume ID.

Returns

string

The volume ID extracted from the target ID.

Defined in

packages/core/src/utilities/getVolumeId.ts:8