@univerjs/sheets-conditional-formatting v0.5.0-beta.1 • Docs
Function: getValueByType()
function getValueByType(
value,
matrix,
context): {
result: undefined;
status: FormulaResultStatus.NOT_REGISTER;
} | {
result: Nullable<
| undefined
| null
| string
| number
| boolean
| void>;
status: FormulaResultStatus.SUCCESS;
}
Parameters
Parameter | Type |
---|---|
value | IValueConfig |
matrix | ObjectMatrix <number > |
context | IContext & { cfId : string ; } |
Returns
{
result
: undefined
;
status
: FormulaResultStatus.NOT_REGISTER
;
} | {
result
: Nullable
<
| undefined
| null
| string
| number
| boolean
| void
>;
status
: FormulaResultStatus.SUCCESS
;
}
Defined in
sheets-conditional-formatting/src/services/calculate-unit/utils.ts:91