Replacement count and refreshed search state returned by replace-all.
Package
@sheetwrite/core
Source
packages/core/src/types/grid.ts#L323
Members 2
replacedHow many cells were rewritten.
replaced: number;
resultSearch state after the replacement (matches re-scanned against the new data).
result: SearchResultinterface SearchResult {
query: string;
matches: CellAddress[];
active: number;
}interfaceSearchResult {query:string;matches:CellAddress[];active:number;}interfaceSearchResult {query:string;matches:CellAddress[];active:number;}Ordered matches and active index produced by a grid search.API reference →;
Declaration
View full TypeScript declaration
exportinterfaceReplaceResult {
replaced:number;
result:SearchResultinterface SearchResult {
query: string;
matches: CellAddress[];
active: number;
}interfaceSearchResult {query:string;matches:CellAddress[];active:number;}interfaceSearchResult {query:string;matches:CellAddress[];active:number;}Ordered matches and active index produced by a grid search.API reference →;