@univerjs/sheets v0.4.2 • Docs
Function: getSheetCommandTargetWorkbook()
function getSheetCommandTargetWorkbook(univerInstanceService, params): Nullable<{
unitId: string;
workbook: Workbook;
}>
Parameters
Parameter | Type |
---|---|
univerInstanceService | IUniverInstanceService |
params | object |
params.unitId ? | string |
Returns
Nullable
<{
unitId
: string
;
workbook
: Workbook
;
}>
Defined in
packages/sheets/src/commands/commands/utils/target-util.ts:19 (opens in a new tab)