API Reference
@univerjs
@univerjs/sheets-conditional-formatting
functions
Getvaluebytype

@univerjs/sheets-conditional-formatting v0.4.2Docs


Function: getValueByType()

function getValueByType(
   value, 
   matrix, 
   context): {
  result: item.result;
  status: FormulaResultStatus.NOT_REGISTER;
 } | {
  result: item.result;
  status: FormulaResultStatus.SUCCESS;
}

Parameters

ParameterType
valueIValueConfig
matrixObjectMatrix<number>
contextIContext & { cfId: string; }

Returns

{ result: item.result; status: FormulaResultStatus.NOT_REGISTER; } | { result: item.result; status: FormulaResultStatus.SUCCESS; }

Defined in

sheets-conditional-formatting/src/services/calculate-unit/utils.ts:92 (opens in a new tab)


Copyright © 2021-2024 DreamNum Co,Ltd. All Rights Reserved.