Skip to content
Sheetwrite

@sheetwrite/core/functions

FormulaCompletionIteminterface

Report a problem

On this page

One item of the completion list.

Members

Properties

readonly kind: FormulaCompletionKind;

read-only

Whether the item is a function, a name, a table, a column or an argument value.

readonly name: string;

read-only

The text the list shows: SUM, SalesUnits, Table1, Amount, FALSE.

readonly insert: string;

read-only

The text a chosen item writes over from to to: SUM( for a function, the name or value otherwise. A function followed by ( already writes only its name.

readonly description: string;

read-only

What the item is or means, such as Exact match for FALSE in VLOOKUP.

Declaration

View full TypeScript declaration
export interface FormulaCompletionItem {
readonly kind: FormulaCompletionKind;
readonly name: string;
readonly insert: string;
readonly description: string;
readonly function?: FormulaFunctionMetadata;
}

Referenced by

Public exports naming FormulaCompletionItem