hyperformula
Version:
HyperFormula is a JavaScript engine for efficient processing of spreadsheet-like data and formulas
24 lines (23 loc) • 828 B
TypeScript
/**
* @license
* Copyright (c) 2025 Handsoncode. All rights reserved.
*/
import { ProcedureAst } from '../../parser';
import { InterpreterState } from '../InterpreterState';
import { InterpreterValue } from '../InterpreterValue';
import { FunctionPlugin, FunctionPluginTypecheck, ImplementedFunctions } from './FunctionPlugin';
/**
* Interpreter plugin containing COUNTUNIQUE function
*/
export declare class CountUniquePlugin extends FunctionPlugin implements FunctionPluginTypecheck<CountUniquePlugin> {
static implementedFunctions: ImplementedFunctions;
/**
* Corresponds to COUNTUNIQUE(Number1, Number2, ...).
*
* Returns number of unique numbers from arguments
*
* @param ast
* @param state
*/
countunique(ast: ProcedureAst, state: InterpreterState): InterpreterValue;
}