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


Function: transformSupportSymmetryAnchor()

function transformSupportSymmetryAnchor<T>(
   start, 
   end, 
   ruleList, 
   get): null | [IAnchor, IAnchor]

Only [after,after] and [after,before] can support symmetric operations

Type Parameters

Type ParameterDefault type
Tunknown[]

Parameters

ParameterType
startIAnchor
endIAnchor
ruleListT[]
get(v) => string

Returns

null | [IAnchor, IAnchor]

Defined in

sheets-conditional-formatting/src/utils/anchor.ts:81