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


Function: moveByAnchor()

function moveByAnchor<T>(
   start, 
   end, 
   ruleList, 
   get): undefined | null

This function has side effects that modify the ruleList

Type Parameters

Type ParameterDefault type
Tunknown[]

Parameters

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

Returns

undefined | null

Defined in

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