@univerjs/sheets-conditional-formatting v0.5.0-beta.1 • 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