UNPKG

hyperformula

Version:

HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas

16 lines (15 loc) 1.05 kB
/** * @license * Copyright (c) 2025 Handsoncode. All rights reserved. */ import { AbsoluteCellRange } from '../AbsoluteCellRange'; import { DependencyGraph } from '../DependencyGraph'; import { RawInterpreterValue, RawNoErrorScalarValue } from './InterpreterValue'; export declare function findLastOccurrenceInOrderedRange(searchKey: RawNoErrorScalarValue, range: AbsoluteCellRange, { searchCoordinate, orderingDirection, ifNoMatch }: { searchCoordinate: 'row' | 'col'; orderingDirection: 'asc' | 'desc'; ifNoMatch: 'returnLowerBound' | 'returnUpperBound' | 'returnNotFound'; }, dependencyGraph: DependencyGraph): number; export declare function findLastOccurrenceInOrderedArray(searchKey: RawNoErrorScalarValue, array: RawInterpreterValue[], orderingDirection?: 'asc' | 'desc'): number; export declare function findLastMatchingIndex(predicate: (index: number) => boolean, startRange: number, endRange: number): number; export declare function compare(left: RawNoErrorScalarValue, right: RawInterpreterValue): number;