@univerjssheetsindexfunctionsGetsheetcommandtargetworkbook

@univerjs/sheets v0.5.0-beta.1Docs


Function: getSheetCommandTargetWorkbook()

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

Parameters

ParameterType
univerInstanceServiceIUniverInstanceService
paramsobject
params.unitId?string

Returns

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

NameTypeDefined in
unitIdstringsubmodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:21
workbookWorkbooksubmodules/univer/packages/sheets/src/commands/commands/utils/target-util.ts:20

Defined in

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