@univerjssheetsindexfunctionsGetsheetcommandtargetworkbook

@univerjs/sheets v0.5.4


Function: getSheetCommandTargetWorkbook()

function getSheetCommandTargetWorkbook(univerInstanceService, params): Nullable<{
  unitId: string;
  workbook: Workbook;
}>

Defined in: submodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:19

Parameters

ParameterType
univerInstanceServiceIUniverInstanceService
params{ unitId: string; }
params.unitId?string

Returns

Nullable<{ unitId: string; workbook: Workbook; }>