@univerjs/sheets-conditional-formatting v0.4.2 • Docs
Function: findIndexByAnchor()
function findIndexByAnchor<T>(
anchor,
ruleList,
get): null | number
Type Parameters
Type Parameter | Default type |
---|---|
T | unknown [] |
Parameters
Parameter | Type |
---|---|
anchor | IAnchor |
ruleList | T [] |
get | (v ) => string |
Returns
null
| number
Defined in
sheets-conditional-formatting/src/utils/anchor.ts:22 (opens in a new tab)