Skip to content

Class

▸ addAll(other: ContentChanges): ContentChanges

Defined in hyperformula/src/ContentChanges.ts:29

Parameters:

Name Type
other ContentChanges

Returns: ContentChanges


▸ addChange(newValue: InterpreterValue, address: SimpleCellAddress, oldValue?: InterpreterValue): void

Defined in hyperformula/src/ContentChanges.ts:36

Parameters:

Name Type
newValue InterpreterValue
address SimpleCellAddress
oldValue? InterpreterValue

Returns: void


▸ exportChanges‹T›(exporter: ChangeExporter‹T›): T[]

Defined in hyperformula/src/ContentChanges.ts:40

Type parameters:

▪ T

Parameters:

Name Type
exporter ChangeExporter‹T›

Returns: T[]


▸ getChanges(): ChangeList

Defined in hyperformula/src/ContentChanges.ts:53

Returns: ChangeList


▸ isEmpty(): boolean

Defined in hyperformula/src/ContentChanges.ts:57

Returns: boolean


▸ mapErrorValues(fn: function): void

Defined in hyperformula/src/ContentChanges.ts:66

Replaces each error value in the list with the result of fn.

Parameters:

▪ fn: function

maps an error to the error the change should carry instead

▸ (error: CellError): CellError

Parameters:

Name Type
error CellError

Returns: void


Static

▸ empty(): ContentChanges‹›

Defined in hyperformula/src/ContentChanges.ts:25

Returns: ContentChanges‹›