Skip to content

@sqlrooms/cells / findArtifactIdForCell

Function: findArtifactIdForCell() ​

findArtifactIdForCell(state, cellId): string | undefined

Finds the artifact ID that contains the given cell ID.

Parameters ​

ParameterType
statePick<CellsRootState, "cells">
cellIdstring

Returns ​

string | undefined