# API Reference Overview

## Type aliases

### CellDependency

Ƭ **CellDependency**: *[SimpleCellAddress](interfaces/simplecelladdress.md) | [AbsoluteCellRange](classes/absolutecellrange.md) | NamedExpressionDependency*

*Defined in [hyperformula/src/CellDependency.ts:10](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellDependency.ts#L10)*

___

### CellValue

Ƭ **CellValue**: *[NoErrorCellValue](globals.md#noerrorcellvalue) | [DetailedCellError](classes/detailedcellerror.md)*

*Defined in [hyperformula/src/CellValue.ts:9](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellValue.ts#L9)*

___

### CellValueDetailedType

Ƭ **CellValueDetailedType**: *[CellValueNoNumber](enums/cellvaluenonumber.md) | NumberType*

*Defined in [hyperformula/src/Cell.ts:97](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L97)*

___

### CellValueType

Ƭ **CellValueType**: *[CellValueNoNumber](enums/cellvaluenonumber.md) | [CellValueJustNumber](enums/cellvaluejustnumber.md)*

*Defined in [hyperformula/src/Cell.ts:94](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L94)*

___

### ChangeList

Ƭ **ChangeList**: *[CellValueChange](interfaces/cellvaluechange.md)[]*

*Defined in [hyperformula/src/ContentChanges.ts:20](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ContentChanges.ts#L20)*

___

### ClipboardCell

Ƭ **ClipboardCell**: *[ClipboardCellValue](interfaces/clipboardcellvalue.md) | [ClipboardCellFormula](interfaces/clipboardcellformula.md) | [ClipboardCellEmpty](interfaces/clipboardcellempty.md) | [ClipboardCellParsingError](interfaces/clipboardcellparsingerror.md)*

*Defined in [hyperformula/src/ClipboardOperations.ts:16](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ClipboardOperations.ts#L16)*

___

### ColumnMap

Ƭ **ColumnMap**: *Map‹RawInterpreterValue, [ValueIndex](interfaces/valueindex.md)›*

*Defined in [hyperformula/src/Lookup/ColumnIndex.ts:30](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Lookup/ColumnIndex.ts#L30)*

___

### ColumnRowIndex

Ƭ **ColumnRowIndex**: *[number, number]*

*Defined in [hyperformula/src/CrudOperations.ts:65](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CrudOperations.ts#L65)*

___

### ConfigParamsList

Ƭ **ConfigParamsList**: *keyof ConfigParams*

*Defined in [hyperformula/src/ConfigParams.ts:478](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ConfigParams.ts#L478)*

___

### ConsoleMessages

Ƭ **ConsoleMessages**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:25](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L25)*

#### Type declaration:

___

### DateTime

Ƭ **DateTime**: *[SimpleTime](interfaces/simpletime.md) | [SimpleDate](interfaces/simpledate.md) | [SimpleDateTime](globals.md#simpledatetime)*

*Defined in [hyperformula/src/DateTimeHelper.ts:31](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L31)*

___

### Dependencies

Ƭ **Dependencies**: *Map‹Vertex, [CellDependency](globals.md#celldependency)[]›*

*Defined in [hyperformula/src/GraphBuilder.ts:25](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/GraphBuilder.ts#L25)*

___

### EngineState

Ƭ **EngineState**: *object*

*Defined in [hyperformula/src/BuildEngineFactory.ts:35](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/BuildEngineFactory.ts#L35)*

#### Type declaration:

* **cellContentParser**: *[CellContentParser](classes/cellcontentparser.md)*

* **columnSearch**: *[ColumnSearchStrategy](interfaces/columnsearchstrategy.md)*

* **config**: *[Config](classes/config.md)*

* **crudOperations**: *[CrudOperations](classes/crudoperations.md)*

* **dependencyGraph**: *DependencyGraph*

* **evaluator**: *[Evaluator](classes/evaluator.md)*

* **exporter**: *[Exporter](classes/exporter.md)*

* **functionRegistry**: *FunctionRegistry*

* **lazilyTransformingAstService**: *[LazilyTransformingAstService](classes/lazilytransformingastservice.md)*

* **namedExpressions**: *[NamedExpressions](classes/namedexpressions.md)*

* **parser**: *ParserWithCaching*

* **serialization**: *[Serialization](classes/serialization.md)*

* **stats**: *[Statistics](classes/statistics.md)*

* **unparser**: *Unparser*

___

### ExportedChange

Ƭ **ExportedChange**: *[ExportedCellChange](classes/exportedcellchange.md) | [ExportedNamedExpressionChange](classes/exportednamedexpressionchange.md)*

*Defined in [hyperformula/src/Exporter.ts:18](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Exporter.ts#L18)*

___

### LicenseKeyInvalidState

Ƭ **LicenseKeyInvalidState**: *Exclude‹[LicenseKeyValidityState](enums/licensekeyvaliditystate.md), [VALID](enums/licensekeyvaliditystate.md#valid)›*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:19](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L19)*

___

### Maybe

Ƭ **Maybe**: *T | undefined*

*Defined in [hyperformula/src/Maybe.ts:6](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Maybe.ts#L6)*

**`license`** 
Copyright (c) Handsoncode sp. z o.o. All rights reserved.

___

### MessageDescriptor

Ƭ **MessageDescriptor**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:29](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L29)*

#### Type declaration:

* **expiryDate**? : *Date*

* **template**: *[LicenseKeyValidityState](enums/licensekeyvaliditystate.md)*

___

### NamedExpressionOptions

Ƭ **NamedExpressionOptions**: *Record‹string, string | number | boolean›*

*Defined in [hyperformula/src/NamedExpressions.ts:22](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/NamedExpressions.ts#L22)*

___

### NoErrorCellValue

Ƭ **NoErrorCellValue**: *number | string | boolean | null*

*Defined in [hyperformula/src/CellValue.ts:8](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellValue.ts#L8)*

___

### RawCellContent

Ƭ **RawCellContent**: *Date | string | number | boolean | null | undefined*

*Defined in [hyperformula/src/CellContentParser.ts:25](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellContentParser.ts#L25)*

___

### Sheet

Ƭ **Sheet**: *[RawCellContent](globals.md#rawcellcontent)[][]*

*Defined in [hyperformula/src/Sheet.ts:12](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Sheet.ts#L12)*

Two-dimenstional array representation of sheet

___

### SheetDimensions

Ƭ **SheetDimensions**: *object*

*Defined in [hyperformula/src/Sheet.ts:19](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Sheet.ts#L19)*

Represents size of a sheet

#### Type declaration:

* **height**: *number*

* **width**: *number*

___

### SheetIndex

Ƭ **SheetIndex**: *[ColumnMap](globals.md#columnmap)[]*

*Defined in [hyperformula/src/Lookup/ColumnIndex.ts:37](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Lookup/ColumnIndex.ts#L37)*

___

### Sheets

Ƭ **Sheets**: *Record‹string, [Sheet](globals.md#sheet)›*

*Defined in [hyperformula/src/Sheet.ts:14](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Sheet.ts#L14)*

___

### SimpleDateTime

Ƭ **SimpleDateTime**: *[SimpleDate](interfaces/simpledate.md) & [SimpleTime](interfaces/simpletime.md)*

*Defined in [hyperformula/src/DateTimeHelper.ts:29](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L29)*

___

### Span

Ƭ **Span**: *[RowsSpan](classes/rowsspan.md) | [ColumnsSpan](classes/columnsspan.md)*

*Defined in [hyperformula/src/Span.ts:6](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Span.ts#L6)*

**`license`** 
Copyright (c) Handsoncode sp. z o.o. All rights reserved.

___

### TranslatableErrorType

Ƭ **TranslatableErrorType**: *Exclude‹[ErrorType](classes/hyperformulans.md#static-errortype), [LIC](enums/errortype.md#lic)›*

*Defined in [hyperformula/src/Cell.ts:54](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L54)*

## Variables

### ALL_FEATURES

• **ALL_FEATURES**: *[FeatureId](enums/featureid.md)[]* = singleFeatureEntries.reduce<FeatureId[]>(
  (features, [, granted]) => features.concat(granted),
  [],
)

*Defined in [hyperformula/src/license/featureCapabilities.ts:21](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/featureCapabilities.ts#L21)*

Every gated API area: what `feat:all` grants.

___

### ALL_FUNCTIONS

• **ALL_FUNCTIONS**: *string[]* = Array.from(FUNCTION_GROUPS.values())
  .reduce<string[]>((functions, members) => functions.concat(members), [])
  .concat(UNGROUPED_FUNCTIONS)

*Defined in [hyperformula/src/license/functionCapabilities.ts:117](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/functionCapabilities.ts#L117)*

The whole catalog: what `fun:all` grants.

Flattened by `reduce` rather than `Array.prototype.flat`, which is ES2019 and so sits above the
`lib` ceiling this package compiles against.

___

### CAPABILITY_TABLE

• **CAPABILITY_TABLE**: *ReadonlyMap‹string, [CapabilityGrant](interfaces/capabilitygrant.md)›* = new Map<string, CapabilityGrant>([
  ...Array.from(FEATURE_CAPABILITY_TABLE, ([token, features]): [string, CapabilityGrant] => [
    token,
    {functions: [], features: [...features]},
  ]),
  ...Array.from(FUNCTION_CAPABILITY_TABLE, ([token, functions]): [string, CapabilityGrant] => [
    token,
    {functions: [...functions], features: []},
  ]),
])

*Defined in [hyperformula/src/license/capabilities.ts:55](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/capabilities.ts#L55)*

The production capability table the engine reads: [FEATURE_CAPABILITY_TABLE](globals.md#const-feature_capability_table) and
[FUNCTION_CAPABILITY_TABLE](globals.md#const-function_capability_table) under one key space, keyed by NORMALIZED token spelling —
look up through [normalizeCapabilityToken](globals.md#normalizecapabilitytoken), never with a raw key string.

The two halves share no token (one vocabulary is prefixed `feat:`, the other `fun:`), so the
merge cannot lose an entry to a collision. Features come first so that the function half keeps
its own iteration order, which is what decides the winner in
`CapabilityRegistry`'s reverse index: `fun:all` covers every gatable function and therefore
names every one of them there.

Both halves are copied into fresh [CapabilityGrant](interfaces/capabilitygrant.md) objects rather than referenced, so
that a consumer holding a grant cannot reach back into a sub-table's arrays.

No token here names a package, and no grant refers to another token. Which tokens a commercial
package consists of is the generator's knowledge, expressed by the bigger license simply
listing more tokens — so a key's function set is the union of everything it names that this
table recognizes, and an unrecognized token is inert.
Legacy keys resolve to the unrestricted entitlement and never consult this table at all.

There is no entry for any add-on. An add-on is a commercial wrapper, and which capabilities it
bundles is decided where keys are minted; the engine only ever reads the capabilities the key
actually names. That is what lets pricing rename or re-bundle an add-on without a release here.

___

### COLOR_CODE_REGEX

• **COLOR_CODE_REGEX**: *RegExp‹›* = /^(?:black|blue|cyan|green|magenta|red|white|yellow|color\s?(?:[1-9]|[1-4]\d|5[0-6])(?!\d))/i

*Defined in [hyperformula/src/format/format.ts:148](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L148)*

___

### COLOR_TAG_REGEX

• **COLOR_TAG_REGEX**: *RegExp‹›* = /\[(black|blue|cyan|green|magenta|red|white|yellow|color\s?(?:[1-9]|[1-4]\d|5[0-6]))\]/gi

*Defined in [hyperformula/src/format/format.ts:147](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L147)*

___

### DATE_SEPARATOR_REGEXP

• **DATE_SEPARATOR_REGEXP**: *RegExp‹›* = new RegExp('[ /.-]')

*Defined in [hyperformula/src/DateTimeDefault.ts:13](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L13)*

___

### FEATURE_CAPABILITY_TABLE

• **FEATURE_CAPABILITY_TABLE**: *ReadonlyMap‹string, readonly FeatureId[]›* = new Map([
  ...singleFeatureEntries,
  ['feat:all', ALL_FEATURES] as [string, readonly FeatureId[]],
])

*Defined in [hyperformula/src/license/featureCapabilities.ts:35](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/featureCapabilities.ts#L35)*

The `feat:*` half of the vocabulary, keyed by NORMALIZED token spelling: one token per gated
area of the public API, plus `feat:all` for all of them at once.

Kept apart from `FUNCTION_CAPABILITY_TABLE` because the two halves are maintained by different
forces. This one grows when a public API area becomes gated — an engine decision, one entry
hand-written per area — while the function half is a transcription of the packaging document's
group membership. `CAPABILITY_TABLE` in `./capabilities` merges them for the consumers.

___

### FUNCTION_CAPABILITY_TABLE

• **FUNCTION_CAPABILITY_TABLE**: *ReadonlyMap‹string, readonly string[]›* = new Map([
  ['fun:all', ALL_FUNCTIONS] as [string, readonly string[]],
  ...FUNCTION_GROUPS,
  ...singleFunctionEntries,
])

*Defined in [hyperformula/src/license/functionCapabilities.ts:145](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/functionCapabilities.ts#L145)*

The `fun:*` half of the vocabulary, keyed by NORMALIZED token spelling, as the packaging design
defines it: `fun:all`, the group tokens `fun:<family>.<a|b|c>`, and one
`fun:<CANONICAL_FUNCTION_NAME>` per canonical function.

Every grant is STATIC. Nothing here is derived from the function registry at run time, so a
function registered by a user through `HyperFormula.registerFunctionPlugin` can never be gated
— see the note on `UNGROUPED_FUNCTIONS`. The cost is that a newly implemented built-in is
ungated until it is added here, which the completeness invariant in
`unit/license/capability-registry.spec.ts` fails on.

___

### FUNCTION_GROUPS

• **FUNCTION_GROUPS**: *ReadonlyMap‹string, readonly string[]›* = new Map([
  ['fun:math.a', ['ABS', 'LOG', 'MOD', 'POWER', 'PRODUCT', 'ROUND', 'ROUNDDOWN', 'ROUNDUP', 'SQRT', 'SUM']],
  ['fun:stat.a', ['AVERAGE', 'COUNT', 'MAX', 'MIN']],
  ['fun:logic.a', ['IF']],
  ['fun:operator.a', ['HF.ADD', 'HF.CONCAT', 'HF.DIVIDE', 'HF.EQ', 'HF.GT', 'HF.GTE', 'HF.LT', 'HF.LTE', 'HF.MINUS',
  'HF.MULTIPLY', 'HF.NE', 'HF.POW', 'HF.UMINUS', 'HF.UNARY_PERCENT', 'HF.UPLUS']],
  ['fun:info.a', ['VERSION']],
  ['fun:lookup.a', ['OFFSET']],
  ['fun:time.b', [
    'DATE', 'DATEDIF', 'DATEVALUE', 'DAY', 'DAYS', 'EOMONTH', 'HOUR', 'ISOWEEKNUM', 'MINUTE', 'MONTH',
    'NETWORKDAYS', 'SECOND', 'TODAY', 'WEEKDAY', 'WEEKNUM', 'WORKDAY', 'YEAR',
  ]],
  ['fun:text.b', [
    'CONCATENATE', 'EXACT', 'LEFT', 'LEN', 'LOWER', 'MID', 'REPLACE', 'REPT', 'RIGHT', 'SEARCH',
    'SUBSTITUTE', 'TEXT', 'TRIM', 'UPPER', 'VALUE',
  ]],
  ['fun:logic.b', ['AND', 'FALSE', 'IFS', 'NOT', 'OR', 'SWITCH', 'TRUE', 'XOR']],
  ['fun:math.b', ['RAND', 'RANDBETWEEN', 'SUMIF', 'SUMIFS']],
  ['fun:stat.b', ['AVERAGEIF', 'COUNTIF', 'STDEV.S']],
  ['fun:lookup.c', [
    'ADDRESS', 'CHOOSE', 'COLUMN', 'COLUMNS', 'FILTER', 'HLOOKUP', 'HSTACK', 'HYPERLINK', 'INDEX', 'MATCH',
    'ROW', 'ROWS', 'SORT', 'TRANSPOSE', 'UNIQUE', 'VLOOKUP', 'VSTACK', 'XLOOKUP',
  ]],
  ['fun:math.c', [
    'ACOS', 'ASIN', 'ATAN', 'ATAN2', 'CEILING', 'COS', 'EVEN', 'EXP', 'FLOOR', 'INT', 'LN', 'MROUND', 'ODD',
    'PI', 'QUOTIENT', 'SEQUENCE', 'SIGN', 'SIN', 'SUBTOTAL', 'SUMPRODUCT', 'SUMSQ', 'SUMXMY2', 'TAN',
  ]],
  ['fun:stat.c', [
    'AVERAGEA', 'COUNTA', 'COUNTBLANK', 'COUNTIFS', 'LARGE', 'MAXIFS', 'MEDIAN', 'MINIFS', 'PERCENTILE.INC',
    'SMALL', 'STDEV.P', 'STDEVA', 'STDEVPA', 'VAR.P', 'VAR.S',
  ]],
  ['fun:time.c', ['DAYS360', 'EDATE', 'NOW', 'TIME', 'YEARFRAC']],
  ['fun:text.c', ['CHAR', 'CLEAN', 'CODE', 'FIND', 'PROPER', 'T', 'TEXTJOIN', 'UNICHAR']],
  ['fun:info.c', [
    'ISBLANK', 'ISERR', 'ISERROR', 'ISEVEN', 'ISLOGICAL', 'ISNA', 'ISNUMBER', 'ISODD', 'ISTEXT', 'N', 'NA',
  ]],
  ['fun:logic.c', ['IFERROR', 'IFNA']],
  ['fun:finance.c', ['FV', 'IPMT', 'IRR', 'NPV', 'PMT', 'PPMT', 'PV', 'RATE', 'SLN', 'XIRR', 'XNPV']],
  ['fun:engineer.c', ['DEC2HEX', 'HEX2DEC']],
  ['fun:array.c', ['ARRAYFORMULA', 'ARRAY_CONSTRAIN']],
])

*Defined in [hyperformula/src/license/functionCapabilities.ts:24](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/functionCapabilities.ts#L24)*

The 21 function groups of the packaging doc, keyed by their group tokens in normalized
(lowercase) spelling — the doc writes them `fun:<family>.<A|B|C>` and declares all token names
case-insensitive.

Transcribed 1:1 from section 6 of the internal packaging design document ("HF function groups
and packages"), so that a re-transcription is a reviewable diff against the doc's published
counts. The table below is the only thing production code reads it through.

`fun:info.a` and `fun:lookup.a` name nothing but the two protected built-ins, `VERSION` and
`OFFSET` (see `FunctionRegistry._protectedPlugins`). The doc calls that a "technical
limitation" on both: the interpreter never gate-checks a protected function, so those two
evaluate under every key no matter which tokens name them, and the groups that carry them are
bookkeeping identifiers for functionality every key already has.

The doc freezes group names as API surface: once shipped inside license keys, a rename is a
breaking change.

___

### HOURS_PER_DAY

• **HOURS_PER_DAY**: *24* = 24

*Defined in [hyperformula/src/DateTimeHelper.ts:15](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L15)*

___

### HYPERFORMULA_PRODUCT_NAME

• **HYPERFORMULA_PRODUCT_NAME**: *"hyperformula"* = "hyperformula"

*Defined in [hyperformula/src/license/licenseResolution.ts:23](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L23)*

The name of HyperFormula's own product entry in an entitlement key payload. A key that grants
other products but not this one is not a license for HyperFormula (the reader returns
`product_missing`), however many other products it grants.

___

### LCID_CURRENCY_TAG

• **LCID_CURRENCY_TAG**: *RegExp‹›* = /\[\$[^\-\]]+-/

*Defined in [hyperformula/src/format/format.ts:28](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L28)*

Detects Excel LCID-tagged currency tags (`[$SYMBOL-LCID]` with a non-empty
SYMBOL portion). Shared by `defaultStringifyDateTime` and
`defaultStringifyDuration` so a format string carrying such a tag short-
circuits both date and duration dispatch and falls through to the
number formatter (or the user-supplied `stringifyCurrency` callback).

The pattern is intentionally unanchored: any occurrence of `[$SYMBOL-`
in the format string triggers the guard. Excel does not mix date/time
tokens with a currency tag in the same format string, so a mid-string
match cannot misclassify a legitimate composite — every observed
format string with a currency tag is currency-only.

___

### MAX_TO_FIXED_DIGITS

• **MAX_TO_FIXED_DIGITS**: *100* = 100

*Defined in [hyperformula/src/format/format.ts:524](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L524)*

The most decimal places `Number#toFixed` accepts.

___

### MINUTES_PER_HOUR

• **MINUTES_PER_HOUR**: *60* = 60

*Defined in [hyperformula/src/DateTimeHelper.ts:14](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L14)*

___

### NOT_FOUND

• **NOT_FOUND**: *-1* = -1

*Defined in [hyperformula/src/Lookup/AdvancedFind.ts:19](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Lookup/AdvancedFind.ts#L19)*

___

### PURCHASE_LICENSE_TEXT

• **PURCHASE_LICENSE_TEXT**: *"To continue using HyperFormula, you need to purchase a license."* = "To continue using HyperFormula, you need to purchase a license."

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:70](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L70)*

___

### QUICK_CHECK_REGEXP

• **QUICK_CHECK_REGEXP**: *RegExp‹›* = new RegExp('^[0-9/.\\-: ]+[ap]?m?$')

*Defined in [hyperformula/src/DateTimeDefault.ts:11](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L11)*

___

### SECONDS_PER_MINUTE

• **SECONDS_PER_MINUTE**: *60* = 60

*Defined in [hyperformula/src/DateTimeHelper.ts:13](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L13)*

___

### SECONDS_PRECISION

• **SECONDS_PRECISION**: *1000* = 1000

*Defined in [hyperformula/src/DateTimeDefault.ts:15](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L15)*

___

### TIME_FORMAT_SECONDS_ITEM_REGEXP

• **TIME_FORMAT_SECONDS_ITEM_REGEXP**: *RegExp‹›* = new RegExp('^ss(\\.(s+|0+))?$')

*Defined in [hyperformula/src/DateTimeDefault.ts:9](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L9)*

___

### TIME_SEPARATOR

• **TIME_SEPARATOR**: *":"* = ":"

*Defined in [hyperformula/src/DateTimeDefault.ts:14](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L14)*

___

### UNGROUPED_FUNCTIONS

• **UNGROUPED_FUNCTIONS**: *string[]* = [
  'ACCRINT', 'ACCRINTM', 'ACOSH', 'ACOT', 'ACOTH', 'ARABIC', 'ASINH', 'ATANH', 'AVEDEV', 'AVERAGEIFS', 'BASE',
  'BESSELI', 'BESSELJ', 'BESSELK',
  'BESSELY', 'BETA.DIST', 'BETA.INV', 'BIN2DEC', 'BIN2HEX', 'BIN2OCT', 'BINOM.DIST', 'BINOM.INV', 'BITAND',
  'BITLSHIFT', 'BITOR', 'BITRSHIFT', 'BITXOR', 'CEILING.MATH', 'CEILING.PRECISE', 'CHISQ.DIST',
  'CHISQ.DIST.RT', 'CHISQ.INV', 'CHISQ.INV.RT', 'CHISQ.TEST', 'CHOOSECOLS', 'CHOOSEROWS', 'COMBIN', 'COMBINA',
  'COMPLEX', 'CONCAT', 'CONFIDENCE.NORM', 'CONFIDENCE.T', 'CORREL', 'COSH', 'COT', 'COTH', 'COUNTUNIQUE', 'COUPDAYBS',
  'COUPDAYS', 'COUPDAYSNC', 'COUPNCD', 'COUPNUM', 'COUPPCD', 'COVARIANCE.P',
  'COVARIANCE.S', 'CSC', 'CSCH', 'CUMIPMT', 'CUMPRINC', 'DAVERAGE', 'DB', 'DCOUNT', 'DCOUNTA', 'DDB',
  'DEC2BIN', 'DEC2OCT', 'DECIMAL', 'DEGREES', 'DELTA', 'DEVSQ', 'DGET', 'DISC', 'DMAX', 'DMIN', 'DOLLARDE',
  'DOLLARFR', 'DPRODUCT', 'DROP', 'DSTDEV', 'DSTDEVP', 'DSUM', 'DURATION', 'DVAR', 'DVARP', 'EFFECT', 'ERF', 'ERFC',
  'ERROR.TYPE', 'EXPAND',
  'EXPON.DIST', 'F.DIST', 'F.DIST.RT', 'F.INV', 'F.INV.RT', 'F.TEST', 'FACT', 'FACTDOUBLE', 'FISHER',
  'FISHERINV', 'FLOOR.MATH', 'FLOOR.PRECISE', 'FORECAST.LINEAR', 'FORMULATEXT', 'FREQUENCY', 'FVSCHEDULE', 'GAMMA', 'GAMMA.DIST',
  'GAMMA.INV', 'GAMMALN', 'GAUSS', 'GCD', 'GEOMEAN', 'GESTEP', 'GROWTH', 'HARMEAN', 'HEX2BIN', 'HEX2OCT',
  'HYPGEOM.DIST',
  'IMABS', 'IMAGINARY', 'IMARGUMENT', 'IMCONJUGATE', 'IMCOS', 'IMCOSH', 'IMCOT', 'IMCSC', 'IMCSCH', 'IMDIV',
  'IMEXP', 'IMLN', 'IMLOG10', 'IMLOG2', 'IMPOWER', 'IMPRODUCT', 'IMREAL', 'IMSEC', 'IMSECH', 'IMSIN',
  'IMSINH', 'IMSQRT', 'IMSUB', 'IMSUM', 'IMTAN', 'INTERCEPT', 'INTERVAL', 'INTRATE', 'ISBINARY', 'ISFORMULA',
  'ISNONTEXT', 'ISPMT', 'ISREF', 'KURT', 'LCM', 'LINEST', 'LOG10', 'LOGEST', 'LOGNORM.DIST', 'LOGNORM.INV', 'MAXA', 'MAXPOOL', 'MDURATION',
  'MEDIANPOOL', 'MINA', 'MIRR', 'MMULT', 'MODE.MULT', 'MODE.SNGL', 'MULTINOMIAL', 'NEGBINOM.DIST', 'NETWORKDAYS.INTL', 'NOMINAL', 'NORM.DIST',
  'NORM.INV',
  'NORM.S.DIST', 'NORM.S.INV', 'NPER', 'OCT2BIN', 'OCT2DEC', 'OCT2HEX', 'ODDFPRICE', 'ODDFYIELD',
  'ODDLPRICE', 'ODDLYIELD', 'PDURATION',
  'PERCENTILE.EXC', 'PERCENTRANK.EXC', 'PERCENTRANK.INC',
  'PHI', 'POISSON.DIST', 'PRICE', 'PRICEDISC', 'PRICEMAT', 'PROB', 'QUARTILE.EXC', 'QUARTILE.INC', 'RADIANS', 'RANK.EQ', 'RECEIVED',
  'ROMAN',
  'RRI', 'RSQ', 'SEC', 'SECH',
  'SERIESSUM', 'SHEET', 'SHEETS', 'SINH', 'SKEW', 'SKEW.P', 'SLOPE', 'SPLIT', 'SQRTPI', 'STANDARDIZE',
  'STEYX', 'SUMX2MY2', 'SUMX2PY2', 'SYD', 'T.DIST', 'T.DIST.2T', 'T.DIST.RT', 'T.INV', 'T.INV.2T', 'T.TEST',
  'TAKE', 'TANH', 'TBILLEQ', 'TBILLPRICE', 'TBILLYIELD', 'TDIST', 'TIMEVALUE', 'TREND', 'TRIMMEAN', 'TRIMRANGE', 'TYPE', 'UNICODE',
  'VALUETOTEXT', 'VARA', 'VARPA', 'WEIBULL.DIST', 'WORKDAY.INTL', 'WRAPCOLS', 'WRAPROWS', 'YIELD', 'YIELDDISC', 'YIELDMAT', 'Z.TEST',
]

*Defined in [hyperformula/src/license/functionCapabilities.ts:77](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/functionCapabilities.ts#L77)*

The implemented functions no group names — the packaging design's niche tail, reachable only
through `fun:all` or their own single-function token.

Enumerated rather than taken from the function registry at run time, even though "everything
not in a group" would be the shorter way to say it. Reading the registry would sweep in
functions registered through `HyperFormula.registerFunctionPlugin`, putting a user's OWN custom
function under a license token and returning `#LIC!` for it, while custom functions must never
be gated. A function this table does not list is not
gated at all, which is exactly the treatment a custom function should get.

___

### WHITESPACE_REGEXP

• **WHITESPACE_REGEXP**: *RegExp‹›* = new RegExp('\\s+')

*Defined in [hyperformula/src/DateTimeDefault.ts:12](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L12)*

___

### WRONG_RANGE_SIZE

• **WRONG_RANGE_SIZE**: *"AbsoluteCellRange: Wrong range size"* = "AbsoluteCellRange: Wrong range size"

*Defined in [hyperformula/src/AbsoluteCellRange.ts:22](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/AbsoluteCellRange.ts#L22)*

___

### _notified

• **_notified**: *boolean* = false

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:48](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L48)*

___

### _rl

• **_rl**: *"length"* = "length"

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:9](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L9)*

**`license`** 
Copyright (c) Handsoncode sp. z o.o. All rights reserved.

___

### dateFormatRegex

• **dateFormatRegex**: *RegExp‹›* = /(\\.|dd|DD|d|D|mm|MM|m|M|YYYY|YY|yyyy|yy|HH|hh|H|h|ss(\.(0+|s+))?|s|AM\/PM|am\/pm|A\/P|a\/p|\[mm]|\[MM]|\[hh]|\[HH])/g

*Defined in [hyperformula/src/format/parser.ts:8](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L8)*

___

### defaultLanguage

• **defaultLanguage**: *string* = Config.defaultConfig.language

*Defined in [hyperformula/src/index.ts:112](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/index.ts#L112)*

___

### memoizedParseDateFormat

• **memoizedParseDateFormat**: *(Anonymous function)* = memoize(parseDateFormat)

*Defined in [hyperformula/src/DateTimeDefault.ts:17](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L17)*

___

### memoizedParseTimeFormat

• **memoizedParseTimeFormat**: *(Anonymous function)* = memoize(parseTimeFormat)

*Defined in [hyperformula/src/DateTimeDefault.ts:16](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L16)*

___

### numDays

• **numDays**: *number[]* = [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31]

*Defined in [hyperformula/src/DateTimeHelper.ts:10](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L10)*

___

### numberFormatRegexCache

• **numberFormatRegexCache**: *Map‹string, RegExp‹››* = new Map<string, RegExp>()

*Defined in [hyperformula/src/format/parser.ts:45](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L45)*

___

### prefSumDays

• **prefSumDays**: *number[]* = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334]

*Defined in [hyperformula/src/DateTimeHelper.ts:11](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L11)*

___

### privatePool

• **privatePool**: *WeakMap‹[Config](classes/config.md), [LicensePrivateState](interfaces/licenseprivatestate.md)›* = new WeakMap()

*Defined in [hyperformula/src/Config.ts:40](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Config.ts#L40)*

___

### singleFeatureEntries

• **singleFeatureEntries**: *[string, readonly FeatureId[]][]* = [
  ['feat:crud', [FeatureId.Crud]],
  ['feat:undo_redo', [FeatureId.UndoRedo]],
  ['feat:clipboard', [FeatureId.Clipboard]],
  ['feat:named_expressions', [FeatureId.NamedExpressions]],
  ['feat:batching', [FeatureId.Batching]],
]

*Defined in [hyperformula/src/license/featureCapabilities.ts:12](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/featureCapabilities.ts#L12)*

One entry per single-area feature token. `feat:all` is derived from this list rather than
spelled out beside it, so a new gated area reaches it by being added here and nowhere else.

___

### singleFunctionEntries

• **singleFunctionEntries**: *[string, readonly string[]][]* = ALL_FUNCTIONS.map((name) => [
  `fun:${name.trim().toLowerCase()}`,
  [name],
])

*Defined in [hyperformula/src/license/functionCapabilities.ts:129](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/functionCapabilities.ts#L129)*

One table entry per canonical function name: the packaging doc's single-function tokens
(`fun:<CANONICAL_FUNCTION_NAME>`), "for surgical grants: custom deals, previews, per-function
exceptions". One exists for EVERY canonical name — the operator callable forms and the
protected built-ins included. Alias names get no token of their own: tokens reference canonical
names, and an alias travels with its canonical function because the gates canonicalize before
consulting the table.

## Functions

### CellValueTypeOrd

▸ **CellValueTypeOrd**(`arg`: [CellValueType](classes/hyperformulans.md#static-cellvaluetype)): *number*

*Defined in [hyperformula/src/Cell.ts:100](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L100)*

**Parameters:**

Name | Type |
------ | ------ |
`arg` | [CellValueType](classes/hyperformulans.md#static-cellvaluetype) |

**Returns:** *number*

___

### _cp

▸ **_cp**(`v`: any): *number*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:14](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L14)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *number*

___

### _hd

▸ **_hd**(`v`: any): *number*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:10](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L10)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *number*

___

### _nm

▸ **_nm**(`v`: any): *string*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:12](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L12)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *string*

___

### _pi

▸ **_pi**(`v`: any): *number*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:11](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L11)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *number*

___

### _ss

▸ **_ss**(`v`: any, `s`: any, `l`: any): *any*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:13](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L13)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |
`s` | any |
`l` | any |

**Returns:** *any*

___

### absoluteSheetReference

▸ **absoluteSheetReference**(`address`: AddressWithSheet, `baseAddress`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *number*

*Defined in [hyperformula/src/Cell.ts:225](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L225)*

**Parameters:**

Name | Type |
------ | ------ |
`address` | AddressWithSheet |
`baseAddress` | [SimpleCellAddress](interfaces/simplecelladdress.md) |

**Returns:** *number*

___

### absolutizeDependencies

▸ **absolutizeDependencies**(`deps`: RelativeDependency[], `baseAddress`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *[CellDependency](globals.md#celldependency)[]*

*Defined in [hyperformula/src/absolutizeDependencies.ts:17](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/absolutizeDependencies.ts#L17)*

Converts dependencies from maybe relative addressing to absolute addressing.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`deps` | RelativeDependency[] | list of addresses in R0C0 format |
`baseAddress` | [SimpleCellAddress](interfaces/simplecelladdress.md) | base address with regard to which make a convertion  |

**Returns:** *[CellDependency](globals.md#celldependency)[]*

___

### addressKey

▸ **addressKey**(`address`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *string*

*Defined in [hyperformula/src/Cell.ts:212](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L212)*

**Parameters:**

Name | Type |
------ | ------ |
`address` | [SimpleCellAddress](interfaces/simplecelladdress.md) |

**Returns:** *string*

___

### allowsFeature

▸ **allowsFeature**(`resolved`: [ResolvedCapabilities](interfaces/resolvedcapabilities.md), `feature`: [FeatureId](enums/featureid.md)): *boolean*

*Defined in [hyperformula/src/license/CapabilityRegistry.ts:135](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/CapabilityRegistry.ts#L135)*

Whether a resolved entitlement allows using the given feature area of the public API.

**Parameters:**

Name | Type |
------ | ------ |
`resolved` | [ResolvedCapabilities](interfaces/resolvedcapabilities.md) |
`feature` | [FeatureId](enums/featureid.md) |

**Returns:** *boolean*

___

### allowsFunction

▸ **allowsFunction**(`resolved`: [ResolvedCapabilities](interfaces/resolvedcapabilities.md), `functionId`: string): *boolean*

*Defined in [hyperformula/src/license/CapabilityRegistry.ts:128](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/CapabilityRegistry.ts#L128)*

Whether a resolved entitlement allows calling the given function.

**Parameters:**

Name | Type |
------ | ------ |
`resolved` | [ResolvedCapabilities](interfaces/resolvedcapabilities.md) |
`functionId` | string |

**Returns:** *boolean*

___

### arraySizeForBinaryOp

▸ **arraySizeForBinaryOp**(`leftArraySize`: [ArraySize](classes/arraysize.md), `rightArraySize`: [ArraySize](classes/arraysize.md)): *[ArraySize](classes/arraysize.md)*

*Defined in [hyperformula/src/ArraySize.ts:36](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArraySize.ts#L36)*

**Parameters:**

Name | Type |
------ | ------ |
`leftArraySize` | [ArraySize](classes/arraysize.md) |
`rightArraySize` | [ArraySize](classes/arraysize.md) |

**Returns:** *[ArraySize](classes/arraysize.md)*

___

### arraySizeForUnaryOp

▸ **arraySizeForUnaryOp**(`arraySize`: [ArraySize](classes/arraysize.md)): *[ArraySize](classes/arraysize.md)*

*Defined in [hyperformula/src/ArraySize.ts:40](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArraySize.ts#L40)*

**Parameters:**

Name | Type |
------ | ------ |
`arraySize` | [ArraySize](classes/arraysize.md) |

**Returns:** *[ArraySize](classes/arraysize.md)*

___

### buildColumnSearchStrategy

▸ **buildColumnSearchStrategy**(`dependencyGraph`: DependencyGraph, `config`: [Config](classes/config.md), `statistics`: [Statistics](classes/statistics.md)): *[ColumnSearchStrategy](interfaces/columnsearchstrategy.md)*

*Defined in [hyperformula/src/Lookup/SearchStrategy.ts:92](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Lookup/SearchStrategy.ts#L92)*

**Parameters:**

Name | Type |
------ | ------ |
`dependencyGraph` | DependencyGraph |
`config` | [Config](classes/config.md) |
`statistics` | [Statistics](classes/statistics.md) |

**Returns:** *[ColumnSearchStrategy](interfaces/columnsearchstrategy.md)*

___

### buildNumberFormatRegex

▸ **buildNumberFormatRegex**(`decimalSeparator`: string, `groupingSeparator`: string): *RegExp*

*Defined in [hyperformula/src/format/parser.ts:29](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L29)*

Builds the number-format tokenizer regex for the given separators.

A number token starts with a `#`/`0` placeholder, goes on with placeholders and
grouping characters, and may end with the decimal separator and more
placeholders: `[#0][#0,]*(\.[#0]*)?` for `.` and `,`. A grouping character
before the first placeholder is text, as in Excel, where ` 0` gives ` 5` when
the grouping character is a space. Whether a grouping character means "group
thousands", a trailing scaler, or neither is decided later by string
inspection in `format.ts`, never by regex structure.

Synchronous catastrophic backtracking is not catchable by jest/jasmine
wall-clock timeouts, so this pattern MUST NOT be rewritten into a
nested-quantifier form such as `([#0]+,)*[#0]+`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`decimalSeparator` | string | the character that marks the decimal point in a mask |
`groupingSeparator` | string | the character that marks thousands grouping in a mask, or `''` for none |

**Returns:** *RegExp*

a new global regex that matches backslash escapes and number tokens

___

### checkKeySchema

▸ **checkKeySchema**(`v`: any): *boolean*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:20](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L20)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *boolean*

___

### checkLicenseKeyValidity

▸ **checkLicenseKeyValidity**(`licenseKey`: string): *[LicenseKeyValidityState](enums/licensekeyvaliditystate.md)*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:222](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L222)*

Checks if the provided license key is grammatically valid or not expired.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`licenseKey` | string | The license key to check. |

**Returns:** *[LicenseKeyValidityState](enums/licensekeyvaliditystate.md)*

Returns the checking state.

___

### collatorFromConfig

▸ **collatorFromConfig**(`config`: [Config](classes/config.md)): *Collator*

*Defined in [hyperformula/src/StringHelper.ts:8](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/StringHelper.ts#L8)*

**Parameters:**

Name | Type |
------ | ------ |
`config` | [Config](classes/config.md) |

**Returns:** *Collator*

___

### configCheckIfParametersNotInConflict

▸ **configCheckIfParametersNotInConflict**(...`params`: object[]): *void*

*Defined in [hyperformula/src/ArgumentSanitization.ts:57](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L57)*

**Parameters:**

Name | Type |
------ | ------ |
`...params` | object[] |

**Returns:** *void*

___

### configValueFromParam

▸ **configValueFromParam**(`inputValue`: any, `expectedType`: string | string[], `paramName`: [ConfigParamsList](globals.md#configparamslist)): *any*

*Defined in [hyperformula/src/ArgumentSanitization.ts:16](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L16)*

**Parameters:**

Name | Type |
------ | ------ |
`inputValue` | any |
`expectedType` | string &#124; string[] |
`paramName` | [ConfigParamsList](globals.md#configparamslist) |

**Returns:** *any*

___

### configValueFromParamCheck

▸ **configValueFromParamCheck**(`inputValue`: any, `typeCheck`: function, `expectedType`: string, `paramName`: [ConfigParamsList](globals.md#configparamslist)): *any*

*Defined in [hyperformula/src/ArgumentSanitization.ts:47](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L47)*

**Parameters:**

▪ **inputValue**: *any*

▪ **typeCheck**: *function*

▸ (`object`: any): *boolean*

**Parameters:**

Name | Type |
------ | ------ |
`object` | any |

▪ **expectedType**: *string*

▪ **paramName**: *[ConfigParamsList](globals.md#configparamslist)*

**Returns:** *any*

___

### countChars

▸ **countChars**(`text`: string, `char`: string): *number*

*Defined in [hyperformula/src/format/format.ts:412](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L412)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |
`char` | string |

**Returns:** *number*

___

### createTokens

▸ **createTokens**(`regexTokens`: RegExpExecArray[], `str`: string): *[FormatToken](interfaces/formattoken.md)[]*

*Defined in [hyperformula/src/format/parser.ts:124](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L124)*

**Parameters:**

Name | Type |
------ | ------ |
`regexTokens` | RegExpExecArray[] |
`str` | string |

**Returns:** *[FormatToken](interfaces/formattoken.md)[]*

___

### dayToMonth

▸ **dayToMonth**(`dayOfYear`: number): *number*

*Defined in [hyperformula/src/DateTimeHelper.ts:315](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L315)*

**Parameters:**

Name | Type |
------ | ------ |
`dayOfYear` | number |

**Returns:** *number*

___

### daysIn30DayMonths

▸ **daysIn30DayMonths**(`start`: [SimpleDate](interfaces/simpledate.md), `end`: [SimpleDate](interfaces/simpledate.md)): *number*

*Defined in [hyperformula/src/DateTimeHelper.ts:368](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L368)*

Counts the days between two dates as if every month had 30 days. The dates must already be adjusted to a 30/360
basis (`toBasisUS` or `toBasisEU`).

**Parameters:**

Name | Type |
------ | ------ |
`start` | [SimpleDate](interfaces/simpledate.md) |
`end` | [SimpleDate](interfaces/simpledate.md) |

**Returns:** *number*

___

### defaultParseToDate

▸ **defaultParseToDate**(`dateItems`: string[], `dateFormat`: [Maybe](globals.md#maybe)‹string›): *[Maybe](globals.md#maybe)‹[SimpleDate](interfaces/simpledate.md)›*

*Defined in [hyperformula/src/DateTimeDefault.ts:137](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L137)*

Parses a date value from a string if the string matches the given date format.

**Parameters:**

Name | Type |
------ | ------ |
`dateItems` | string[] |
`dateFormat` | [Maybe](globals.md#maybe)‹string› |

**Returns:** *[Maybe](globals.md#maybe)‹[SimpleDate](interfaces/simpledate.md)›*

___

### defaultParseToDateTime

▸ **defaultParseToDateTime**(`text`: string, `dateFormat`: [Maybe](globals.md#maybe)‹string›, `timeFormat`: [Maybe](globals.md#maybe)‹string›): *[Maybe](globals.md#maybe)‹[DateTime](globals.md#datetime)›*

*Defined in [hyperformula/src/DateTimeDefault.ts:30](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L30)*

Parses a DateTime value from a string if the string matches the given date format and time format.

Idea for more readable implementation:
  - divide string into parts by a regexp [date_regexp]? [time_regexp]? [ampm_regexp]?
  - start by finding the time part, because it is unambiguous '([0-9]+:[0-9:.]+ ?[ap]?m?)$', before it is the date part
  - OR split by spaces - last segment is ampm token, second to last is time (with or without ampm), rest is date
If applied:
  - date parsing might work differently after these changes but still according to the docs
  - make sure to test edge cases like timeFormats: ['hh', 'ss.ss'] etc, string: '01-01-2019 AM', 'PM'

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |
`dateFormat` | [Maybe](globals.md#maybe)‹string› |
`timeFormat` | [Maybe](globals.md#maybe)‹string› |

**Returns:** *[Maybe](globals.md#maybe)‹[DateTime](globals.md#datetime)›*

___

### defaultParseToTime

▸ **defaultParseToTime**(`timeItems`: string[], `timeFormat`: [Maybe](globals.md#maybe)‹string›): *[Maybe](globals.md#maybe)‹[SimpleTime](interfaces/simpletime.md)›*

*Defined in [hyperformula/src/DateTimeDefault.ts:82](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L82)*

Parses a time value from a string if the string matches the given time format.

**Parameters:**

Name | Type |
------ | ------ |
`timeItems` | string[] |
`timeFormat` | [Maybe](globals.md#maybe)‹string› |

**Returns:** *[Maybe](globals.md#maybe)‹[SimpleTime](interfaces/simpletime.md)›*

___

### defaultStringifyCurrency

▸ **defaultStringifyCurrency**(`_value`: number, `_formatArg`: string): *[Maybe](globals.md#maybe)‹string›*

*Defined in [hyperformula/src/format/format.ts:792](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L792)*

Default implementation of the `stringifyCurrency` config option.

Returning `undefined` instructs the formatter to fall through to the
built-in number formatter, preserving HyperFormula's zero-dependency
default behavior. Replace this default by setting the
[`stringifyCurrency`](../../api/interfaces/configparams.md#stringifycurrency)
config option.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`_value` | number | the numeric value to format (unused in default). |
`_formatArg` | string | the format string passed to `TEXT` (unused in default). |

**Returns:** *[Maybe](globals.md#maybe)‹string›*

`undefined` — caller should fall through to the built-in formatter.

___

### defaultStringifyDateTime

▸ **defaultStringifyDateTime**(`dateTime`: [SimpleDateTime](globals.md#simpledatetime), `formatArg`: string): *[Maybe](globals.md#maybe)‹string›*

*Defined in [hyperformula/src/format/format.ts:688](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L688)*

Default `stringifyDateTime` callback — formats a date/time value against an
Excel-style format string (e.g. `YYYY-MM-DD HH:mm:ss`).

Returns `undefined` for format strings that are not date/time formats so the
dispatcher in `format()` can fall through to `parseForNumberFormat` (or to a
user-supplied `stringifyCurrency` callback for currency-tagged formats).

**LCID currency-tag guard** — explicitly returns `undefined` for Excel
currency tags `[$SYMBOL-LCID]` (non-empty SYMBOL portion). Without the
guard, `parseForDateTimeFormat` greedily consumes letters like `D`/`M`/`S`/`Y`/`H`
inside the currency code (e.g. `D` in USD, `H` in CHF, `M`+`D` in AMD),
mangling the output of an `[$USD-409] #,##0.00` format into
`[$US9-409] #,##0.00` because `D` is read as a day token. The pre-HF-24
behaviour was to mis-format; the guarded return is the deliberate
correction, not a regression. Bit-for-bit compatibility is preserved for
every non-currency format (dates, durations, `$#,##0.00`, etc.).

The guard pattern (`/\[\$[^\-\]]+-/`) requires ≥1 character between `[$`
and `-` so it distinguishes currency tags (`[$USD-409]`, `[$€-2]`) from
Excel's locale-only modifier (`[$-409]`, `[$-F800]`), which is valid on
date/time formats and must continue to flow through this function.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`dateTime` | [SimpleDateTime](globals.md#simpledatetime) | parsed date/time value to render |
`formatArg` | string | Excel-style format string |

**Returns:** *[Maybe](globals.md#maybe)‹string›*

formatted string, or `undefined` to defer to the next dispatch step

___

### defaultStringifyDuration

▸ **defaultStringifyDuration**(`time`: [SimpleTime](interfaces/simpletime.md), `formatArg`: string): *[Maybe](globals.md#maybe)‹string›*

*Defined in [hyperformula/src/format/format.ts:596](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L596)*

Default `stringifyDuration` callback — formats a duration value against an
Excel-style time format string (e.g. `[hh]:mm:ss`).

Returns `undefined` for format strings that are not duration formats so the
dispatcher in `format()` can fall through to other handlers.

**LCID currency-tag guard** — sibling to the same guard in
`defaultStringifyDateTime`; explicitly returns `undefined` for Excel
currency tags `[$SYMBOL-LCID]` because the SYMBOL portion contains
duration-token letters (`H` in CHF/HUF, `m` in AMD/HMD) that
`parseForDateTimeFormat` would otherwise interpret as time tokens and
mangle the output. See `defaultStringifyDateTime` for the full
symbol-vs-locale-modifier rationale and the historical pre-HF-24
behaviour the guard corrects.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`time` | [SimpleTime](interfaces/simpletime.md) | parsed duration value to render |
`formatArg` | string | Excel-style format string |

**Returns:** *[Maybe](globals.md#maybe)‹string›*

formatted string, or `undefined` to defer to the next dispatch step

___

### doesContainRelativeReferences

▸ **doesContainRelativeReferences**(`ast`: Ast): *boolean*

*Defined in [hyperformula/src/NamedExpressions.ts:299](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/NamedExpressions.ts#L299)*

**Parameters:**

Name | Type |
------ | ------ |
`ast` | Ast |

**Returns:** *boolean*

___

### doesItLookLikeADateTimeQuickCheck

▸ **doesItLookLikeADateTimeQuickCheck**(`text`: string): *boolean*

*Defined in [hyperformula/src/DateTimeDefault.ts:222](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L222)*

If this function returns false, the string is not parsable as a date time. Otherwise, it might be.
This is a quick check that is used to avoid running the more expensive parsing operations.

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *boolean*

___

### empty

▸ **empty**‹**T**›(): *IterableIterator‹T›*

*Defined in [hyperformula/src/generatorUtils.ts:8](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/generatorUtils.ts#L8)*

**Type parameters:**

▪ **T**

**Returns:** *IterableIterator‹T›*

___

### endsWithLoneBackslash

▸ **endsWithLoneBackslash**(`formatArg`: string): *boolean*

*Defined in [hyperformula/src/format/format.ts:131](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L131)*

Tells whether a format string ends with a backslash that escapes nothing, as in
`0\` or `dd\`. Such a format is invalid, so `TEXT` returns `#VALUE!`. An
escaped backslash (`0\\`) or a backslash inside quoted text (`0"\"`) is
literal text and does not count.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatArg` | string | the raw format string |

**Returns:** *boolean*

`true` when the last character is a backslash that escapes nothing

___

### ensureFeatureAllowed

▸ **ensureFeatureAllowed**(`config`: [Config](classes/config.md), `feature`: [FeatureId](enums/featureid.md)): *void*

*Defined in [hyperformula/src/license/ensureFeatureAllowed.ts:39](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/ensureFeatureAllowed.ts#L39)*

Throws [LicenseCapabilityMissingError](classes/licensecapabilitymissingerror.md) unless [isFeatureAllowed](globals.md#isfeatureallowed). When the key itself
blocks evaluation, the error names the key's state.

Shared by the build-time named-expressions check and `HyperFormula.ensureCapability`, so the two
cannot disagree about the same key.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`config` | [Config](classes/config.md) | the config whose resolved license is checked |
`feature` | [FeatureId](enums/featureid.md) | the gated feature being called  |

**Returns:** *void*

___

### entitlementOf

▸ **entitlementOf**(`entry`: ProductEntitlement, `isTrial`: boolean, `silent`: boolean): *[LicenseEntitlement](interfaces/licenseentitlement.md)*

*Defined in [hyperformula/src/license/licenseResolution.ts:123](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L123)*

Turns HyperFormula's entry of a valid entitlement key into the entitlement it grants.

This is fail-closed and silent: a token this version does not recognize grants nothing, without
a warning, a message, or anything public to read it back from. "Silent" there means the *grant* is silent — whether the
key's console messages are suppressed is decided solely by its `no-console-warns` flag, never
by the presence of an unrecognized token; coupling the two would suppress expiry notices as a
side effect of a vocabulary mismatch.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`entry` | ProductEntitlement | HyperFormula's entry of a valid key |
`isTrial` | boolean | whether the key carries the `trial` flag |
`silent` | boolean | whether the key closes the console channel  |

**Returns:** *[LicenseEntitlement](interfaces/licenseentitlement.md)*

___

### equalSimpleCellAddress

▸ **equalSimpleCellAddress**(`left`: [SimpleCellAddress](interfaces/simplecelladdress.md), `right`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *boolean*

*Defined in [hyperformula/src/Cell.ts:229](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L229)*

**Parameters:**

Name | Type |
------ | ------ |
`left` | [SimpleCellAddress](interfaces/simplecelladdress.md) |
`right` | [SimpleCellAddress](interfaces/simplecelladdress.md) |

**Returns:** *boolean*

___

### escapeRegExpSpecialCharacters

▸ **escapeRegExpSpecialCharacters**(`text`: string): *string*

*Defined in [hyperformula/src/format/parser.ts:41](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L41)*

Escapes the characters that have a special meaning in a regex.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`text` | string | the text to match literally |

**Returns:** *string*

the text with each special character escaped

___

### expiryClause

▸ **expiryClause**(`days`: number): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:87](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L87)*

The countdown of a trial notice: `expires today`, `expires in 1 day` or `expires in N days`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`days` | number | the whole UTC days left until the last licensed day  |

**Returns:** *string*

___

### expiryOf

▸ **expiryOf**(`entry`: ProductEntitlement): *[LicenseExpiry](interfaces/licenseexpiry.md)*

*Defined in [hyperformula/src/license/licenseResolution.ts:99](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L99)*

The expiry details an entitlement records, read off HyperFormula's own entry.

A `release_until` date has no grace period: it is compared with the build date, which never
moves, so there is no window to be inside of.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`entry` | ProductEntitlement | HyperFormula's entry of an intact key  |

**Returns:** *[LicenseExpiry](interfaces/licenseexpiry.md)*

___

### extractTime

▸ **extractTime**(`v`: any): *number*

*Defined in [hyperformula/src/helpers/licenseKeyHelper.ts:16](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyHelper.ts#L16)*

**Parameters:**

Name | Type |
------ | ------ |
`v` | any |

**Returns:** *number*

___

### filterDependenciesOutOfScope

▸ **filterDependenciesOutOfScope**(`deps`: [CellDependency](globals.md#celldependency)[]): *[CellDependency](globals.md#celldependency)[]*

*Defined in [hyperformula/src/absolutizeDependencies.ts:21](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/absolutizeDependencies.ts#L21)*

**Parameters:**

Name | Type |
------ | ------ |
`deps` | [CellDependency](globals.md#celldependency)[] |

**Returns:** *[CellDependency](globals.md#celldependency)[]*

___

### findBoundaries

▸ **findBoundaries**(`sheet`: [Sheet](globals.md#sheet)): *[SheetBoundaries](interfaces/sheetboundaries.md)*

*Defined in [hyperformula/src/Sheet.ts:49](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Sheet.ts#L49)*

Returns actual width, height and fill ratio of a sheet

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`sheet` | [Sheet](globals.md#sheet) | two-dimmensional array sheet representation  |

**Returns:** *[SheetBoundaries](interfaces/sheetboundaries.md)*

___

### findInOrderedArray

▸ **findInOrderedArray**(`key`: number, `values`: number[], `handlingMisses`: "lowerBound" | "upperBound"): *number*

*Defined in [hyperformula/src/Lookup/ColumnIndex.ts:337](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Lookup/ColumnIndex.ts#L337)*

**Parameters:**

Name | Type | Default |
------ | ------ | ------ |
`key` | number | - |
`values` | number[] | - |
`handlingMisses` | "lowerBound" &#124; "upperBound" | "upperBound" |

**Returns:** *number*

___

### first

▸ **first**‹**T**›(`iterable`: IterableIterator‹T›): *[Maybe](globals.md#maybe)‹T›*

*Defined in [hyperformula/src/generatorUtils.ts:22](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/generatorUtils.ts#L22)*

**Type parameters:**

▪ **T**

**Parameters:**

Name | Type |
------ | ------ |
`iterable` | IterableIterator‹T› |

**Returns:** *[Maybe](globals.md#maybe)‹T›*

___

### format

▸ **format**(`value`: number, `formatArg`: string, `config`: [Config](classes/config.md), `dateHelper`: [DateTimeHelper](classes/datetimehelper.md)): *RawScalarValue*

*Defined in [hyperformula/src/format/format.ts:30](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L30)*

**Parameters:**

Name | Type |
------ | ------ |
`value` | number |
`formatArg` | string |
`config` | [Config](classes/config.md) |
`dateHelper` | [DateTimeHelper](classes/datetimehelper.md) |

**Returns:** *RawScalarValue*

___

### formatDate

▸ **formatDate**(`date`: Date): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:264](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L264)*

Formats a Date instance to hard-coded format MMMM DD, YYYY.

Read in UTC, not local time. Every date reaching this function is built at UTC midnight — the
legacy path from a whole number of days since the epoch, the entitlement-key path from a calendar
date in the payload — so local getters shifted the day backwards for anyone west of UTC and
printed an expiry one day earlier than the one the key actually carries.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`date` | Date | The date to format, at UTC midnight. |

**Returns:** *string*

The date as `MMMM DD, YYYY`.

___

### formatNumberWithSections

▸ **formatNumberWithSections**(`formatArg`: string, `value`: number, `config`: [Config](classes/config.md)): *RawScalarValue*

*Defined in [hyperformula/src/format/format.ts:299](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L299)*

Number path of the dispatcher: split the format into sign-selected sections,
pick the section for the value, tokenize it and render.

When the SELECTED section carries no `#`/`0` placeholder it is pure literal
text (e.g. `"neg"`, an empty section, or a bare `Foo`): render THAT section's
literal characters — never the whole format string — so `0.00;"neg"` on a
negative renders `neg` (not `0.00;"neg"`) and an empty section renders `''`.
A single literal section preserves `format(2, 'Foo')` → `'Foo'`. When it is
the only section and the value is negative, the implicit minus goes in front,
as in Excel: `\x` with -5 renders `-x`, and an empty mask renders `-`. Never
throws.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatArg` | string | the color-stripped format string |
`value` | number | the numeric value being formatted |
`config` | [Config](classes/config.md) | the live HyperFormula config (separators) |

**Returns:** *RawScalarValue*

the formatted string

___

### formatToken

▸ **formatToken**(`type`: [TokenType](enums/tokentype.md), `value`: string): *[FormatToken](interfaces/formattoken.md)*

*Defined in [hyperformula/src/format/parser.ts:75](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L75)*

**Parameters:**

Name | Type |
------ | ------ |
`type` | [TokenType](enums/tokentype.md) |
`value` | string |

**Returns:** *[FormatToken](interfaces/formattoken.md)*

___

### getCellType

▸ **getCellType**(`vertex`: [Maybe](globals.md#maybe)‹CellVertex›, `address`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *[CellType](classes/hyperformulans.md#static-celltype)*

*Defined in [hyperformula/src/Cell.ts:64](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L64)*

**Parameters:**

Name | Type |
------ | ------ |
`vertex` | [Maybe](globals.md#maybe)‹CellVertex› |
`address` | [SimpleCellAddress](interfaces/simplecelladdress.md) |

**Returns:** *[CellType](classes/hyperformulans.md#static-celltype)*

___

### getCellValueDetailedType

▸ **getCellValueDetailedType**(`cellValue`: InterpreterValue): *[CellValueDetailedType](classes/hyperformulans.md#static-cellvaluedetailedtype)*

*Defined in [hyperformula/src/Cell.ts:136](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L136)*

**Parameters:**

Name | Type |
------ | ------ |
`cellValue` | InterpreterValue |

**Returns:** *[CellValueDetailedType](classes/hyperformulans.md#static-cellvaluedetailedtype)*

___

### getCellValueFormat

▸ **getCellValueFormat**(`cellValue`: InterpreterValue): *string | undefined*

*Defined in [hyperformula/src/Cell.ts:144](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L144)*

**Parameters:**

Name | Type |
------ | ------ |
`cellValue` | InterpreterValue |

**Returns:** *string | undefined*

___

### getCellValueType

▸ **getCellValueType**(`cellValue`: InterpreterValue): *[CellValueType](classes/hyperformulans.md#static-cellvaluetype)*

*Defined in [hyperformula/src/Cell.ts:116](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L116)*

**Parameters:**

Name | Type |
------ | ------ |
`cellValue` | InterpreterValue |

**Returns:** *[CellValueType](classes/hyperformulans.md#static-cellvaluetype)*

___

### getDefaultConfig

▸ **getDefaultConfig**(): *[ConfigParams](interfaces/configparams.md)*

*Defined in [hyperformula/src/Config.ts:413](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Config.ts#L413)*

**Returns:** *[ConfigParams](interfaces/configparams.md)*

___

### getFullConfigFromPartial

▸ **getFullConfigFromPartial**(`partialConfig`: Partial‹[ConfigParams](interfaces/configparams.md)›): *[ConfigParams](interfaces/configparams.md)*

*Defined in [hyperformula/src/Config.ts:399](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Config.ts#L399)*

**Parameters:**

Name | Type |
------ | ------ |
`partialConfig` | Partial‹[ConfigParams](interfaces/configparams.md)› |

**Returns:** *[ConfigParams](interfaces/configparams.md)*

___

### hasInvalidBracket

▸ **hasInvalidBracket**(`formatArg`: string): *boolean*

*Defined in [hyperformula/src/format/format.ts:79](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L79)*

Tells whether a format string has a bracket that is invalid in Excel: a `[`
that no later `]` closes (`[Red`, `0[`), an empty bracket (`0[]`), or a
bracket whose code starts with a backslash (`0[\]`, `0[\x]`). Such a format
returns `#VALUE!` in Excel, so `TEXT` returns `#VALUE!`.
A `[` inside quoted text or after a backslash is literal text and does not
count. A `]` inside quoted text does not close a bracket: Excel returns
`#VALUE!` for `[Red"]"0`. A `]` after a backslash closes it: Excel returns
5 for `[Red\]0` and `]5` for `[Red\]]0`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatArg` | string | the raw format string |

**Returns:** *boolean*

`true` when a bracket is never closed, is empty, or starts with a backslash

___

### hasUnclosedQuote

▸ **hasUnclosedQuote**(`formatArg`: string): *boolean*

*Defined in [hyperformula/src/format/format.ts:109](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L109)*

Tells whether a format string opens a quoted literal that no later `"` closes,
as in `0"abc` or `"abc`. Such a format is invalid, so `TEXT` returns `#VALUE!`.
An escaped quote (`0\"`) is literal text and does not open a quoted literal.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatArg` | string | the raw format string |

**Returns:** *boolean*

`true` when a quoted literal is never closed

___

### insertGrouping

▸ **insertGrouping**(`digits`: string, `separator`: string): *string*

*Defined in [hyperformula/src/format/format.ts:385](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L385)*

Inserts a grouping separator every three digits from the right of a run of
digits (e.g. `1234567` → `1,234,567`). The caller guarantees `digits` is a
pure-digit string and `separator` is non-empty.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`digits` | string | a pure-digit integer string |
`separator` | string | the grouping character (see `numberFormatSeparators`) |

**Returns:** *string*

the grouped digit string

___

### instanceOfSimpleDate

▸ **instanceOfSimpleDate**(`obj`: any): *obj is SimpleDate*

*Defined in [hyperformula/src/DateTimeHelper.ts:34](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L34)*

**Parameters:**

Name | Type |
------ | ------ |
`obj` | any |

**Returns:** *obj is SimpleDate*

___

### instanceOfSimpleTime

▸ **instanceOfSimpleTime**(`obj`: any): *obj is SimpleTime*

*Defined in [hyperformula/src/DateTimeHelper.ts:43](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L43)*

**Parameters:**

Name | Type |
------ | ------ |
`obj` | any |

**Returns:** *obj is SimpleTime*

___

### invalidSimpleColumnAddress

▸ **invalidSimpleColumnAddress**(`address`: [SimpleColumnAddress](interfaces/simplecolumnaddress.md)): *boolean*

*Defined in [hyperformula/src/Cell.ts:193](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L193)*

**Parameters:**

Name | Type |
------ | ------ |
`address` | [SimpleColumnAddress](interfaces/simplecolumnaddress.md) |

**Returns:** *boolean*

___

### invalidSimpleRowAddress

▸ **invalidSimpleRowAddress**(`address`: [SimpleRowAddress](interfaces/simplerowaddress.md)): *boolean*

*Defined in [hyperformula/src/Cell.ts:184](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L184)*

**Parameters:**

Name | Type |
------ | ------ |
`address` | [SimpleRowAddress](interfaces/simplerowaddress.md) |

**Returns:** *boolean*

___

### isBoolean

▸ **isBoolean**(`text`: string): *boolean*

*Defined in [hyperformula/src/CellContentParser.ts:81](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellContentParser.ts#L81)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *boolean*

___

### isColOrRowInvalid

▸ **isColOrRowInvalid**(`address`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *boolean*

*Defined in [hyperformula/src/Cell.ts:206](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L206)*

Checks if the column or row id is negative.

**Parameters:**

Name | Type |
------ | ------ |
`address` | [SimpleCellAddress](interfaces/simplecelladdress.md) |

**Returns:** *boolean*

___

### isError

▸ **isError**(`text`: string, `errorMapping`: Record‹string, [ErrorType](classes/hyperformulans.md#static-errortype)›): *boolean*

*Defined in [hyperformula/src/CellContentParser.ts:86](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellContentParser.ts#L86)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |
`errorMapping` | Record‹string, [ErrorType](classes/hyperformulans.md#static-errortype)› |

**Returns:** *boolean*

___

### isEscapeToken

▸ **isEscapeToken**(`token`: RegExpExecArray): *boolean*

*Defined in [hyperformula/src/format/parser.ts:197](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L197)*

**Parameters:**

Name | Type |
------ | ------ |
`token` | RegExpExecArray |

**Returns:** *boolean*

___

### isFeatureAllowed

▸ **isFeatureAllowed**(`config`: [Config](classes/config.md), `feature`: [FeatureId](enums/featureid.md)): *boolean*

*Defined in [hyperformula/src/license/ensureFeatureAllowed.ts:25](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/ensureFeatureAllowed.ts#L25)*

Whether the license lets the caller use `feature`. Checks both gates, in the same order the
interpreter does for functions:
- gate A first: a key whose state blocks evaluation (a missing or invalid key, an expired classic
  key, or a trial past its grace period) blocks every gated feature, whatever the entitlement says;
- then gate B: a key that evaluates must grant `feature`.

The one rule behind [ensureFeatureAllowed](globals.md#ensurefeatureallowed), the `isItPossibleTo*` predicates and
`isThereSomethingToUndo`/`isThereSomethingToRedo`, so a predicate never answers `true` for a call
that then throws a license error.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`config` | [Config](classes/config.md) | the config whose resolved license is checked |
`feature` | [FeatureId](enums/featureid.md) | the gated feature being asked about  |

**Returns:** *boolean*

___

### isFormula

▸ **isFormula**(`text`: string): *boolean*

*Defined in [hyperformula/src/CellContentParser.ts:77](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CellContentParser.ts#L77)*

Checks whether string looks like formula or not.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`text` | string | formula  |

**Returns:** *boolean*

___

### isLicenseCheckSkipped

▸ **isLicenseCheckSkipped**(): *boolean*

*Defined in [hyperformula/src/license/licenseResolution.ts:31](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L31)*

Whether the page runs on handsontable.com or one of its one-label subdomains, where the license
check is skipped so the live documentation examples run without a key. The same test as
Handsontable's (`handsontable/src/helpers/mixed.ts`, `_ignored`): `location.host`, so a port
never matches, and no match at all where there is no `location` (Node).

**Returns:** *boolean*

___

### isNonnegativeInteger

▸ **isNonnegativeInteger**(`x`: number): *boolean*

*Defined in [hyperformula/src/CrudOperations.ts:657](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CrudOperations.ts#L657)*

**Parameters:**

Name | Type |
------ | ------ |
`x` | number |

**Returns:** *boolean*

___

### isPositiveInteger

▸ **isPositiveInteger**(`x`: number): *boolean*

*Defined in [hyperformula/src/CrudOperations.ts:653](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/CrudOperations.ts#L653)*

**Parameters:**

Name | Type |
------ | ------ |
`x` | number |

**Returns:** *boolean*

___

### isRowOrColumnRange

▸ **isRowOrColumnRange**(`leftCorner`: [SimpleCellAddress](interfaces/simplecelladdress.md), `width`: number, `height`: number): *boolean*

*Defined in [hyperformula/src/Operations.ts:1107](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Operations.ts#L1107)*

**Parameters:**

Name | Type |
------ | ------ |
`leftCorner` | [SimpleCellAddress](interfaces/simplecelladdress.md) |
`width` | number |
`height` | number |

**Returns:** *boolean*

___

### isSimpleCellAddress

▸ **isSimpleCellAddress**(`obj`: unknown): *obj is SimpleCellAddress*

*Defined in [hyperformula/src/Cell.ts:217](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L217)*

Checks if the object is a simple cell address.

**Parameters:**

Name | Type |
------ | ------ |
`obj` | unknown |

**Returns:** *obj is SimpleCellAddress*

___

### isSimpleCellRange

▸ **isSimpleCellRange**(`val`: unknown): *val is SimpleCellRange*

*Defined in [hyperformula/src/AbsoluteCellRange.ts:34](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/AbsoluteCellRange.ts#L34)*

Type guard that checks if an object is a valid SimpleCellRange.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`val` | unknown | Value to check |

**Returns:** *val is SimpleCellRange*

True if and only if the object is a valid SimpleCellRange

___

### licenseAllowsFunction

▸ **licenseAllowsFunction**(`registry`: [CapabilityRegistry](classes/capabilityregistry.md), `resolved`: [ResolvedCapabilities](interfaces/resolvedcapabilities.md), `canonicalFunctionId`: string): *boolean*

*Defined in [hyperformula/src/license/CapabilityRegistry.ts:160](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/CapabilityRegistry.ts#L160)*

Whether the license lets an instance evaluate — and therefore describe — the given function.

The rule both gate-B function call sites share: a function the capability table does not cover
at all is allowed. [CapabilityRegistry.capabilityOf](classes/capabilityregistry.md#capabilityof) returns `undefined` only for an id no
token lists, which the completeness invariant in `unit/license/capability-registry.spec.ts`
guarantees is not an unlisted built-in but a custom, instance-registered function — exempt from
gate B, because custom functions are never gated. Everything the table does cover has to be granted by the entitlement.

Extracted so the interpreter and the function metadata API cannot drift apart. The metadata API
exists to describe the functions an instance can actually evaluate, so a second spelling of this
rule would eventually let it advertise a function that then returns `#LIC!`.

Note this is gate B only: it says nothing about [LicenseKeyValidityState](enums/licensekeyvaliditystate.md). Callers that
also need gate A check it separately, because the two gates have different answers for the same
key — see the comment on `resolveLicense`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`registry` | [CapabilityRegistry](classes/capabilityregistry.md) | the registry the capabilities were resolved against |
`resolved` | [ResolvedCapabilities](interfaces/resolvedcapabilities.md) | the instance's resolved capabilities |
`canonicalFunctionId` | string | the function id, already resolved through the alias map  |

**Returns:** *boolean*

___

### matchDateFormat

▸ **matchDateFormat**(`str`: string): *RegExpExecArray[]*

*Defined in [hyperformula/src/format/parser.ts:93](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L93)*

**Parameters:**

Name | Type |
------ | ------ |
`str` | string |

**Returns:** *RegExpExecArray[]*

___

### matchNumberFormat

▸ **matchNumberFormat**(`str`: string, `decimalSeparator`: string, `groupingSeparator`: string): *RegExpExecArray[]*

*Defined in [hyperformula/src/format/parser.ts:109](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L109)*

**Parameters:**

Name | Type |
------ | ------ |
`str` | string |
`decimalSeparator` | string |
`groupingSeparator` | string |

**Returns:** *RegExpExecArray[]*

___

### memoize

▸ **memoize**‹**T**›(`fn`: function): *(Anonymous function)*

*Defined in [hyperformula/src/DateTimeDefault.ts:229](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L229)*

Function memoization for improved performance.

**Type parameters:**

▪ **T**

**Parameters:**

▪ **fn**: *function*

▸ (`arg`: string): *T*

**Parameters:**

Name | Type |
------ | ------ |
`arg` | string |

**Returns:** *(Anonymous function)*

___

### movedSimpleCellAddress

▸ **movedSimpleCellAddress**(`address`: [SimpleCellAddress](interfaces/simplecelladdress.md), `toSheet`: number, `toRight`: number, `toBottom`: number): *[SimpleCellAddress](interfaces/simplecelladdress.md)*

*Defined in [hyperformula/src/Cell.ts:208](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L208)*

**Parameters:**

Name | Type |
------ | ------ |
`address` | [SimpleCellAddress](interfaces/simplecelladdress.md) |
`toSheet` | number |
`toRight` | number |
`toBottom` | number |

**Returns:** *[SimpleCellAddress](interfaces/simplecelladdress.md)*

___

### normalizeAddedIndexes

▸ **normalizeAddedIndexes**(`indexes`: [ColumnRowIndex](globals.md#columnrowindex)[]): *[ColumnRowIndex](globals.md#columnrowindex)[]*

*Defined in [hyperformula/src/Operations.ts:1075](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Operations.ts#L1075)*

**Parameters:**

Name | Type |
------ | ------ |
`indexes` | [ColumnRowIndex](globals.md#columnrowindex)[] |

**Returns:** *[ColumnRowIndex](globals.md#columnrowindex)[]*

___

### normalizeCapabilityToken

▸ **normalizeCapabilityToken**(`token`: string): *string*

*Defined in [hyperformula/src/license/capabilities.ts:80](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/capabilities.ts#L80)*

The canonical spelling of a capability token for table lookups.

Token names are case-insensitive — the packaging doc states it outright for its `fun:*`
vocabulary, and tolerating case on the other tokens costs nothing since none of them collide
under lowercasing. Surrounding whitespace is trimmed because a key's token list is text a human
edited somewhere upstream: `'feat:crud '` is the token its author meant, and a padded spelling
that silently grants nothing is a support ticket, not a license restriction.

Normalization happens at LOOKUP, never at storage: an entitlement carries the key's own
spellings (they are diagnostics), and [CAPABILITY_TABLE](globals.md#const-capability_table) is keyed by the normalized form.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`token` | string | a capability token as the key spells it  |

**Returns:** *string*

___

### normalizeRemovedIndexes

▸ **normalizeRemovedIndexes**(`indexes`: [ColumnRowIndex](globals.md#columnrowindex)[]): *[ColumnRowIndex](globals.md#columnrowindex)[]*

*Defined in [hyperformula/src/Operations.ts:1044](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Operations.ts#L1044)*

**Parameters:**

Name | Type |
------ | ------ |
`indexes` | [ColumnRowIndex](globals.md#columnrowindex)[] |

**Returns:** *[ColumnRowIndex](globals.md#columnrowindex)[]*

___

### notifyEntitlementKey

▸ **notifyEntitlementKey**(`state`: LicenseState, `params`: [EntitlementMessageParams](interfaces/entitlementmessageparams.md)): *void*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:186](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L186)*

Prints the console message for an entitlement key's lifecycle state, every time a key is
resolved: unlike classic keys, entitlement keys keep no record of what they already printed.
States inside the term print nothing.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`state` | LicenseState | the reader's lifecycle state |
`params` | [EntitlementMessageParams](interfaces/entitlementmessageparams.md) | the key's own date and days remaining  |

**Returns:** *void*

___

### notifyLicenseKeyState

▸ **notifyLicenseKeyState**(`state`: [LicenseKeyValidityState](enums/licensekeyvaliditystate.md), `keyValidityDate?`: Date): *void*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:167](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L167)*

Prints the console message for a classic 25-character key's non-valid state, at most once per
page load. Entitlement keys do not go through this function.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`state` | [LicenseKeyValidityState](enums/licensekeyvaliditystate.md) | the state to report; `VALID` prints nothing |
`keyValidityDate?` | Date | - |

**Returns:** *void*

___

### notifyUnlicensedEntitlementKey

▸ **notifyUnlicensedEntitlementKey**(): *void*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:198](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L198)*

Prints the console message for an entitlement key that does not license HyperFormula, every
time such a key is resolved. Every reason the reader gives prints the same message.

**Returns:** *void*

___

### numberFormat

▸ **numberFormat**(`tokens`: [FormatToken](interfaces/formattoken.md)[], `value`: number, `separators`: [NumberFormatSeparators](interfaces/numberformatseparators.md)): *RawScalarValue*

*Defined in [hyperformula/src/format/format.ts:443](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L443)*

Renders a single sign-selected section's tokens against a value.

The sign is extracted up front: the value is formatted on its magnitude
(`Math.abs`) and a leading `-` is prepended to the whole result iff the value
is negative AND some rendered digit is non-zero — Excel displays a magnitude
that rounds to zero unsigned (`TEXT(-0.4,"0")` → `0`, not `-0`). Only this
implicit sign is suppressed: an explicit `-` literal in the mask (`0;-0`)
flows through the FREE_TEXT path and still prints. Callers pass `abs` for an
explicit negative section (whose own literals carry the sign) and the signed
value for a single-section mask (so the `-` is re-added here) — see
`pickSection`. Free text around the placeholders has its backslash escapes
resolved, as in a literal section (`0\x` with 5 → `5x`).

Per number token, read with the separators of `numberFormatSeparators`:
- a *trailing* run of grouping characters (Excel's scaler) is peeled off
  and re-emitted as a literal so the output is recognizably un-scaled rather
  than silently mis-scaled;
- grouping is requested when a grouping character sits between two digit
  placeholders (`#,##0`), and the result is grouped with that character;
- the decimal point of the result is the decimal separator of the mask.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`tokens` | [FormatToken](interfaces/formattoken.md)[] | the tokenized number-format section |
`value` | number | the sign-adjusted numeric value to render |
`separators` | [NumberFormatSeparators](interfaces/numberformatseparators.md) | the decimal point and grouping character of the mask |

**Returns:** *RawScalarValue*

the rendered section string

___

### numberFormatRegex

▸ **numberFormatRegex**(`decimalSeparator`: string, `groupingSeparator`: string): *RegExp*

*Defined in [hyperformula/src/format/parser.ts:55](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L55)*

Returns the number-format tokenizer regex for the given separators, built once
per pair of separators.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`decimalSeparator` | string | the character that marks the decimal point in a mask |
`groupingSeparator` | string | the character that marks thousands grouping in a mask, or `''` for none |

**Returns:** *RegExp*

the cached global regex

___

### numberFormatSeparators

▸ **numberFormatSeparators**(`config`: [Config](classes/config.md)): *[NumberFormatSeparators](interfaces/numberformatseparators.md)*

*Defined in [hyperformula/src/format/format.ts:332](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L332)*

Reads the number-mask separators from the config: the decimal point is
`decimalSeparator` and the grouping character is `thousandSeparator`. When
`thousandSeparator` is empty, the grouping character is `,` if the decimal
point is `.`, as in Excel with the en-US locale, so `#,##0.00` groups on the
default config. With a `,` decimal point and an empty `thousandSeparator`,
no character marks grouping.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`config` | [Config](classes/config.md) | the live HyperFormula config |

**Returns:** *[NumberFormatSeparators](interfaces/numberformatseparators.md)*

the decimal point and the grouping character, `''` when there is none

___

### numberToSimpleTime

▸ **numberToSimpleTime**(`arg`: number): *[SimpleTime](interfaces/simpletime.md)*

*Defined in [hyperformula/src/DateTimeHelper.ts:345](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L345)*

**Parameters:**

Name | Type |
------ | ------ |
`arg` | number |

**Returns:** *[SimpleTime](interfaces/simpletime.md)*

___

### objectDestroy

▸ **objectDestroy**(`object`: any): *void*

*Defined in [hyperformula/src/Destroy.ts:6](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Destroy.ts#L6)*

**`license`** 
Copyright (c) Handsoncode sp. z o.o. All rights reserved.

**Parameters:**

Name | Type |
------ | ------ |
`object` | any |

**Returns:** *void*

___

### offsetMonth

▸ **offsetMonth**(`date`: [SimpleDate](interfaces/simpledate.md), `offset`: number): *[SimpleDate](interfaces/simpledate.md)*

*Defined in [hyperformula/src/DateTimeHelper.ts:331](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L331)*

**Parameters:**

Name | Type |
------ | ------ |
`date` | [SimpleDate](interfaces/simpledate.md) |
`offset` | number |

**Returns:** *[SimpleDate](interfaces/simpledate.md)*

___

### padLeft

▸ **padLeft**(`number`: number | string, `size`: number): *string*

*Defined in [hyperformula/src/format/format.ts:396](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L396)*

**Parameters:**

Name | Type |
------ | ------ |
`number` | number &#124; string |
`size` | number |

**Returns:** *string*

___

### padRight

▸ **padRight**(`number`: number | string, `size`: number): *string*

*Defined in [hyperformula/src/format/format.ts:404](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L404)*

**Parameters:**

Name | Type |
------ | ------ |
`number` | number &#124; string |
`size` | number |

**Returns:** *string*

___

### parse

▸ **parse**(`str`: string): *[FormatExpression](interfaces/formatexpression.md)*

*Defined in [hyperformula/src/format/parser.ts:187](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L187)*

**Parameters:**

Name | Type |
------ | ------ |
`str` | string |

**Returns:** *[FormatExpression](interfaces/formatexpression.md)*

___

### parseDateFormat

▸ **parseDateFormat**(`dateFormat`: string): *object*

*Defined in [hyperformula/src/DateTimeDefault.ts:206](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L206)*

Parses a date format string into a format object.

**Parameters:**

Name | Type |
------ | ------ |
`dateFormat` | string |

**Returns:** *object*

* **dayItem**: *number*

* **itemsCount**: *number*

* **longYearItem**: *number*

* **monthItem**: *number*

* **shortYearItem**: *number*

___

### parseForDateTimeFormat

▸ **parseForDateTimeFormat**(`str`: string): *[Maybe](globals.md#maybe)‹[FormatExpression](interfaces/formatexpression.md)›*

*Defined in [hyperformula/src/format/parser.ts:154](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L154)*

**Parameters:**

Name | Type |
------ | ------ |
`str` | string |

**Returns:** *[Maybe](globals.md#maybe)‹[FormatExpression](interfaces/formatexpression.md)›*

___

### parseForNumberFormat

▸ **parseForNumberFormat**(`str`: string, `decimalSeparator`: string, `groupingSeparator`: string): *[Maybe](globals.md#maybe)‹[FormatExpression](interfaces/formatexpression.md)›*

*Defined in [hyperformula/src/format/parser.ts:175](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/parser.ts#L175)*

Tokenizes a number-format mask read with the given separators.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`str` | string | the mask, without quotes |
`decimalSeparator` | string | the character that marks the decimal point in the mask |
`groupingSeparator` | string | the character that marks thousands grouping in the mask, or `''` for none |

**Returns:** *[Maybe](globals.md#maybe)‹[FormatExpression](interfaces/formatexpression.md)›*

the tokens, or `undefined` when the mask has no digit placeholder

___

### parseTimeFormat

▸ **parseTimeFormat**(`timeFormat`: string): *object*

*Defined in [hyperformula/src/DateTimeDefault.ts:186](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeDefault.ts#L186)*

Parses a time format string into a format object.

**Parameters:**

Name | Type |
------ | ------ |
`timeFormat` | string |

**Returns:** *object*

* **hourItem**: *number*

* **itemsCount**: *number*

* **minuteItem**: *number*

* **secondItem**: *number*

___

### pickSection

▸ **pickSection**(`sections`: string[], `value`: number): *object*

*Defined in [hyperformula/src/format/format.ts:268](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L268)*

Selects the format section for a value by its RAW sign (before rounding) and
returns the value to feed the formatter:

- `> 0` → positive section (section 0), formatted signed (non-negative).
- `< 0` → negative section (section 1) when present, formatted on `abs` (the
  section's own literals, e.g. `(0.00)`, carry the sign); when only one
  section exists the signed value is passed so the formatter re-adds `-`
  (unless every rendered digit is zero — see `numberFormat`).
- `= 0` → zero section (section 2) when present, else the positive section.

Excel-canonical fallbacks: 1 section → all values; 2 sections → `[pos+zero ;
neg]`; 3 sections → `[pos ; neg ; zero]`; a missing zero section falls back to
positive.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`sections` | string[] | the split format sections |
`value` | number | the numeric value being formatted |

**Returns:** *object*

the chosen section string and the (sign-adjusted) value to format

* **sectionStr**: *string*

* **valueForFormat**: *number*

___

### postMortem

▸ **postMortem**(`method`: any): *(Anonymous function)*

*Defined in [hyperformula/src/Destroy.ts:16](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Destroy.ts#L16)*

**Parameters:**

Name | Type |
------ | ------ |
`method` | any |

**Returns:** *(Anonymous function)*

___

### printNotification

▸ **printNotification**(`severity`: "warn" | "error", `text`: string): *void*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:208](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L208)*

Prints `text` on the console channel that matches `severity`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`severity` | "warn" &#124; "error" | `warn` while the license still works, `error` once it does not |
`text` | string | the message  |

**Returns:** *void*

___

### renderLiteralSection

▸ **renderLiteralSection**(`section`: string): *string*

*Defined in [hyperformula/src/format/format.ts:351](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L351)*

Renders a placeholder-less format section as literal text: double-quote
delimiters are removed (`"z"` → `z`) and backslash escapes are resolved
(`\-` → `-`). Used when the section selected for a value's sign carries no
`#`/`0` placeholder, so the value is never spliced in — only the section's
own literal characters are emitted (an empty section renders `''`). Mirrors
Excel, where a literal-only section shows just its text.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`section` | string | the raw (unstripped) format section |

**Returns:** *string*

the section's literal text

___

### replacer

▸ **replacer**(`key`: string, `val`: any): *any*

*Defined in [hyperformula/src/errors.ts:136](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/errors.ts#L136)*

**Parameters:**

Name | Type |
------ | ------ |
`key` | string |
`val` | any |

**Returns:** *any*

___

### resolveEscapes

▸ **resolveEscapes**(`code`: string): *string*

*Defined in [hyperformula/src/format/format.ts:363](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L363)*

Resolves backslash escapes in format code (`\-` → `-`). A trailing backslash
with no following character is kept.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`code` | string | format code with no quoted literals in it |

**Returns:** *string*

the code with each escape replaced by the character it escapes

___

### resolveLicense

▸ **resolveLicense**(`licenseKey`: string, `notifyConsole`: boolean): *[ResolvedLicense](interfaces/resolvedlicense.md)*

*Defined in [hyperformula/src/license/licenseResolution.ts:178](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L178)*

Resolves a license key into both gates' inputs.

On handsontable.com and its one-label subdomains ([isLicenseCheckSkipped](globals.md#islicensecheckskipped)) the key is not
read: every key resolves as valid and unrestricted, with no console message.

Routing follows the vendored {@link detectLicenseKeyFormat}, whose test order is normative: the
literals, then the trailing bracketed block that marks an
entitlement key, then the legacy 25-character shape. Everything that is not an entitlement key
— a literal key, a legacy key, an empty string — falls through to [checkLicenseKeyValidity](globals.md#checklicensekeyvalidity)
completely unchanged, which is what keeps this from touching existing behavior. A string that
carries a bracketed block routes here even when the block is garbage: such a key is INVALID,
not a legacy key that happens to contain brackets.

An entitlement key is read by the vendored {@link readEntitlementLicense}, the single entry
point upstream prescribes for products: it verifies the key (the checksum and the prose
digest), picks HyperFormula's entry, places it in its lifecycle window and reads its flags. Only
the meaning of the capability tokens and the console messages live here.

**The invariant this function exists to protect.** Only an entitlement key that lets this build
evaluate — a valid one, or an expired one whose [LIFECYCLE_VERDICTS](globals.md#const-lifecycle_verdicts) entry does not
block — resolves to a restricted entitlement, and an expired one keeps exactly the grants it had
while current. Every key that blocks evaluation (a missing or invalid key, an expired classic key,
or a trial past its grace period) resolves to
[unrestrictedEntitlement](globals.md#unrestrictedentitlement), and so does every classic key. A key that blocks is stopped by
gate A alone, through `blocksEvaluation`: formulas yield `#LIC!` and every gated API feature throws
with the key's state (see `ensureFeatureAllowed`). Gate B never reports such a key, so its "not
included in your license" error is reserved for a key that evaluates but lacks the grant. The fail-closed rule governs unrecognized tokens INSIDE an otherwise valid key; it is not
a rule about invalid keys.

A checksum-valid key whose payload shape cannot be read is INVALID, not a crash and not a free
pass: every payload field is untrusted, so nothing here may assume a shape the vendored reader
has not verified.

**Parameters:**

Name | Type | Default | Description |
------ | ------ | ------ | ------ |
`licenseKey` | string | - | the raw `licenseKey` config value |
`notifyConsole` | boolean | true | pass `false` for a resolution whose result exists only to be thrown away (e.g. the transient serialization-only `Config` that `rebuildWithConfig` builds from the OUTGOING config) — such a resolution must not print notices for a key the caller is in the middle of replacing. Legacy keys notify inside [checkLicenseKeyValidity](globals.md#checklicensekeyvalidity) behind a once-per-page-load flag, so they cannot double-print regardless of this parameter.  |

**Returns:** *[ResolvedLicense](interfaces/resolvedlicense.md)*

___

### roundToEpsilon

▸ **roundToEpsilon**(`arg`: number, `epsilon`: number): *number*

*Defined in [hyperformula/src/DateTimeHelper.ts:340](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L340)*

**Parameters:**

Name | Type | Default |
------ | ------ | ------ |
`arg` | number | - |
`epsilon` | number | 1 |

**Returns:** *number*

___

### roundToNearestSecond

▸ **roundToNearestSecond**(`arg`: number): *number*

*Defined in [hyperformula/src/DateTimeHelper.ts:336](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L336)*

**Parameters:**

Name | Type |
------ | ------ |
`arg` | number |

**Returns:** *number*

___

### simpleCellAddress

▸ **simpleCellAddress**(`sheet`: number, `col`: number, `row`: number): *[SimpleCellAddress](interfaces/simplecelladdress.md)*

*Defined in [hyperformula/src/Cell.ts:201](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L201)*

**Parameters:**

Name | Type |
------ | ------ |
`sheet` | number |
`col` | number |
`row` | number |

**Returns:** *[SimpleCellAddress](interfaces/simplecelladdress.md)*

___

### simpleCellRange

▸ **simpleCellRange**(`start`: [SimpleCellAddress](interfaces/simplecelladdress.md), `end`: [SimpleCellAddress](interfaces/simplecelladdress.md)): *object*

*Defined in [hyperformula/src/AbsoluteCellRange.ts:49](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/AbsoluteCellRange.ts#L49)*

Builds a SimpleCellRange from start and end addresses.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`start` | [SimpleCellAddress](interfaces/simplecelladdress.md) | Top-left cell address |
`end` | [SimpleCellAddress](interfaces/simplecelladdress.md) | Bottom-right cell address |

**Returns:** *object*

Plain-object cell range

* **end**: *[SimpleCellAddress](interfaces/simplecelladdress.md)*

* **start**: *[SimpleCellAddress](interfaces/simplecelladdress.md)*

___

### simpleColumnAddress

▸ **simpleColumnAddress**(`sheet`: number, `col`: number): *[SimpleColumnAddress](interfaces/simplecolumnaddress.md)*

*Defined in [hyperformula/src/Cell.ts:191](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L191)*

**Parameters:**

Name | Type |
------ | ------ |
`sheet` | number |
`col` | number |

**Returns:** *[SimpleColumnAddress](interfaces/simplecolumnaddress.md)*

___

### simpleRowAddress

▸ **simpleRowAddress**(`sheet`: number, `row`: number): *[SimpleRowAddress](interfaces/simplerowaddress.md)*

*Defined in [hyperformula/src/Cell.ts:182](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L182)*

**Parameters:**

Name | Type |
------ | ------ |
`sheet` | number |
`row` | number |

**Returns:** *[SimpleRowAddress](interfaces/simplerowaddress.md)*

___

### split

▸ **split**‹**T**›(`iterable`: IterableIterator‹T›): *object*

*Defined in [hyperformula/src/generatorUtils.ts:11](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/generatorUtils.ts#L11)*

**Type parameters:**

▪ **T**

**Parameters:**

Name | Type |
------ | ------ |
`iterable` | IterableIterator‹T› |

**Returns:** *object*

* **rest**: *IterableIterator‹T›*

* **value**? : *T*

___

### splitIntoSections

▸ **splitIntoSections**(`formatStr`: string): *string[]*

*Defined in [hyperformula/src/format/format.ts:203](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L203)*

Splits an Excel number-format string into its sign-selected sections on
unescaped `;`, honoring `\;` escapes and `"…"` quoted literals so a semicolon
inside a quoted literal does not split. Excel uses up to four sections
(`positive;negative;zero;text`); only the first three are ever selected for a
numeric value, so no cap is enforced here — surplus sections are simply never
read.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatStr` | string | the (color-stripped) format string |

**Returns:** *string[]*

the list of raw section strings, in order

___

### stringifyMagnitude

▸ **stringifyMagnitude**(`absValue`: number, `decimalPlaces`: number): *object*

*Defined in [hyperformula/src/format/format.ts:548](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L548)*

Stringifies the integer and fractional digits of a magnitude for rendering:
the value is rounded to `decimalPlaces` and split on the dot, with the
trailing zeros of the fraction dropped (the placeholder padding re-adds
them). The digits are those of the shortest representation of the rounded
value, so `0.1` with 20 decimal places gives `1`, not the binary expansion
`10000000000000000555`.

`Number#toString` switches to exponent notation at `1e21` and below `1e-6`,
which would defeat placeholder padding and grouping:
- a double `>= 1e21` is written with 15 significant digits and padded with
  zeros (`1234567890123460000000`);
- a value below `1e-6` keeps its digits, written after the leading zeros
  (`0.0000001`).

A mask with more than 100 decimal places is rounded at the 100th, the most `toFixed` takes; the placeholder
padding writes the rest as zeros.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`absValue` | number | the non-negative magnitude to stringify |
`decimalPlaces` | number | the number of decimal places requested by the format |

**Returns:** *object*

the integer digits and the trailing-zero-free fractional digits

* **decimalPart**: *string*

* **integerPart**: *string*

___

### stripColorTags

▸ **stripColorTags**(`formatArg`: string): *string*

*Defined in [hyperformula/src/format/format.ts:168](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L168)*

Removes Excel color tags (`[Red]`, `[Blue]`, …, `[Color56]`) from a format
string. HyperFormula's `TEXT` output is a plain string with no color channel,
so presentational color tags are semantically meaningless and are simply
dropped.

A tag that is exactly a color name is removed wherever it occurs. A bracket
whose code starts with a color name and goes on up to the first `]` is a
color tag too: Excel returns 5 for `[Redx]0`, `[Red\]0` and `[Color5x]0`, and
`]5` for `[Red\]]0`. Such a longer tag inside quoted text or after a
backslash is literal text and is kept. The color names are deliberately
specific, so other bracketed tokens are left untouched: duration tags
`[hh]`/`[mm]`, currency/locale tags `[$USD-409]`/`[$-409]`, and condition
tags `[>=100]`.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`formatArg` | string | the raw format string |

**Returns:** *string*

the format string with recognized color tags removed

___

### stripQuotes

▸ **stripQuotes**(`section`: string): *string*

*Defined in [hyperformula/src/format/format.ts:245](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L245)*

Strips the delimiting double-quotes from quoted literals so `"zł"` renders as
`zł`. Quotes are removed from the whole section, so digit and placeholder
characters inside quotes still reach the number tokenizer.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`section` | string | a single format section |

**Returns:** *string*

the section with double-quote delimiters removed

___

### subscriptionExpiredMessage

▸ **subscriptionExpiredMessage**(`__namedParameters`: object): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:96](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L96)*

The message of a subscription past its `usage_until` date, inside its grace period or after it.

**Parameters:**

▪ **__namedParameters**: *object*

Name | Type |
------ | ------ |
`licensedUntil` | string |

**Returns:** *string*

___

### timeToNumber

▸ **timeToNumber**(`time`: [SimpleTime](interfaces/simpletime.md)): *number*

*Defined in [hyperformula/src/DateTimeHelper.ts:356](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L356)*

**Parameters:**

Name | Type |
------ | ------ |
`time` | [SimpleTime](interfaces/simpletime.md) |

**Returns:** *number*

___

### toBasisEU

▸ **toBasisEU**(`date`: [SimpleDate](interfaces/simpledate.md)): *[SimpleDate](interfaces/simpledate.md)*

*Defined in [hyperformula/src/DateTimeHelper.ts:360](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L360)*

**Parameters:**

Name | Type |
------ | ------ |
`date` | [SimpleDate](interfaces/simpledate.md) |

**Returns:** *[SimpleDate](interfaces/simpledate.md)*

___

### toPlainNotation

▸ **toPlainNotation**(`value`: number): *string*

*Defined in [hyperformula/src/format/format.ts:566](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L566)*

Writes a non-negative number below `1e21` without exponent notation.
`Number#toString` uses exponent notation below `1e-6` (`1.2e-7`); the same
digits are written after the decimal point and the leading zeros
(`0.00000012`).

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`value` | number | a non-negative number below `1e21` |

**Returns:** *string*

the number in plain decimal notation

___

### trimEnd

▸ **trimEnd**(`text`: string, `char`: string): *string*

*Defined in [hyperformula/src/format/format.ts:515](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/format/format.ts#L515)*

Removes every trailing occurrence of a character from a string.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`text` | string | the string to trim |
`char` | string | the single character to remove from the end, or `''` to remove nothing |

**Returns:** *string*

the string without its trailing run of `char`

___

### unrestrictedEntitlement

▸ **unrestrictedEntitlement**(): *[LicenseEntitlement](interfaces/licenseentitlement.md)*

*Defined in [hyperformula/src/license/LicenseEntitlement.ts:86](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/LicenseEntitlement.ts#L86)*

The unrestricted entitlement: classic and literal keys, and every key that blocks evaluation (a
missing or invalid key, an expired classic key, or a trial past its grace period) resolve to
this. An entitlement key that has expired but keeps evaluating does not: it keeps its own grants.

Unrecognized tokens fail closed and silently, so an entitlement key whose tokens this library
version does not recognize at all does not map here — it resolves to an entitlement with an empty,
silent capability set instead of falling back to unrestricted access. Do not reuse this
function for that case.

**Returns:** *[LicenseEntitlement](interfaces/licenseentitlement.md)*

___

### utcDay

▸ **utcDay**(`isoDate`: string): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:78](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L78)*

Formats a `usage_until` date for a message. It is compared against the clock in UTC, so it is
printed with the marker; a `release_until` date involves no clock and is printed without one.

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`isoDate` | string | the date as the key carries it, `YYYY-MM-DD`  |

**Returns:** *string*

___

### validateArgToType

▸ **validateArgToType**(`inputValue`: any, `expectedType`: string, `paramName`: string): *void*

*Defined in [hyperformula/src/ArgumentSanitization.ts:81](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L81)*

**Parameters:**

Name | Type |
------ | ------ |
`inputValue` | any |
`expectedType` | string |
`paramName` | string |

**Returns:** *void*

___

### validateAsSheet

▸ **validateAsSheet**(`sheet`: [Sheet](globals.md#sheet)): *void*

*Defined in [hyperformula/src/Sheet.ts:33](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Sheet.ts#L33)*

**Parameters:**

Name | Type |
------ | ------ |
`sheet` | [Sheet](globals.md#sheet) |

**Returns:** *void*

___

### validateNumberToBeAtLeast

▸ **validateNumberToBeAtLeast**(`value`: number, `paramName`: string, `minimum`: number): *void*

*Defined in [hyperformula/src/ArgumentSanitization.ts:34](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L34)*

**Parameters:**

Name | Type |
------ | ------ |
`value` | number |
`paramName` | string |
`minimum` | number |

**Returns:** *void*

___

### validateNumberToBeAtMost

▸ **validateNumberToBeAtMost**(`value`: number, `paramName`: string, `maximum`: number): *void*

*Defined in [hyperformula/src/ArgumentSanitization.ts:40](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/ArgumentSanitization.ts#L40)*

**Parameters:**

Name | Type |
------ | ------ |
`value` | number |
`paramName` | string |
`maximum` | number |

**Returns:** *void*

## Object literals

### CellValueDetailedType

### ▪ **CellValueDetailedType**: *object*

*Defined in [hyperformula/src/Cell.ts:98](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L98)*

___

### CellValueType

### ▪ **CellValueType**: *object*

*Defined in [hyperformula/src/Cell.ts:95](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/Cell.ts#L95)*

___

### ENTITLEMENT_CONSOLE_NOTIFICATIONS

### ▪ **ENTITLEMENT_CONSOLE_NOTIFICATIONS**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:108](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L108)*

The console message for each entitlement-key lifecycle state that talks to the developer: the
specification's text (as the vendored reader's README carries it), the same
table Handsontable prints (`handsontable/src/helpers/mixed.ts`, `entitlementConsoleNotifications`),
so one key reads the same in both products. Silent states (inside the term, a build covered by its
maintenance date) have no entry. A non-trial key past its grace keeps the soft-stop message: it
never blocks a paying customer.

▪ **release_expired**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:128](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L128)*

* **severity**: *"error"* = "error"

* **message**(`__namedParameters`: object): *string*

▪ **trial_hard_stop**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:118](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L118)*

* **severity**: *"error"* = "error"

* **message**(`__namedParameters`: object): *string*

▪ **trial_notice**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:109](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L109)*

* **severity**: *"warn"* = "warn"

* **message**(`__namedParameters`: object): *string*

▪ **trial_soft_stop**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:114](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L114)*

* **severity**: *"error"* = "error"

* **message**(`__namedParameters`: object): *string*

▪ **usage_hard_stop**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:127](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L127)*

* **message**: *[subscriptionExpiredMessage](globals.md#subscriptionexpiredmessage)* = subscriptionExpiredMessage

* **severity**: *"error"* = "error"

▪ **usage_notice**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:122](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L122)*

* **severity**: *"warn"* = "warn"

* **message**(`__namedParameters`: object): *string*

▪ **usage_soft_stop**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:126](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L126)*

* **message**: *[subscriptionExpiredMessage](globals.md#subscriptionexpiredmessage)* = subscriptionExpiredMessage

* **severity**: *"error"* = "error"

___

### LIFECYCLE_VERDICTS

### ▪ **LIFECYCLE_VERDICTS**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:59](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L59)*

The verdict for every lifecycle state the vendored reader reports. A `Record` over
{@link LicenseState}, so a state added upstream fails compilation here until it is classified,
instead of falling into a default.

- The valid and notice states, and `release_valid`, report VALID and evaluate.
- The soft-stop states report VALID and evaluate on purpose: the grace period keeps working and
  prints the specification's error (see `notifyEntitlementKey`).
- A subscription past its grace period (`usage_hard_stop`) and a key whose `release_until` is
  before the build (`release_expired`) report EXPIRED but keep evaluating, printing an error to
  the console instead. An expired license never blocks a paying customer, as the reader's guide
  and the key specification both say. Such a key keeps its own grants: the reader reports it as
  licensed, so it is never granted more than the same key was granted while it was current.
- A trial past its grace period (`trial_hard_stop`) reports EXPIRED and blocks.

▪ **release_expired**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:69](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L69)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[EXPIRED](enums/licensekeyvaliditystate.md#expired)* = LicenseKeyValidityState.EXPIRED

▪ **release_valid**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:68](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L68)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **trial_hard_stop**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:67](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L67)*

* **blocksEvaluation**: *true* = true

* **validityState**: *[EXPIRED](enums/licensekeyvaliditystate.md#expired)* = LicenseKeyValidityState.EXPIRED

▪ **trial_notice**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:65](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L65)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **trial_soft_stop**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:66](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L66)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **trial_valid**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:64](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L64)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **usage_hard_stop**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:63](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L63)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[EXPIRED](enums/licensekeyvaliditystate.md#expired)* = LicenseKeyValidityState.EXPIRED

▪ **usage_notice**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:61](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L61)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **usage_soft_stop**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:62](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L62)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

▪ **usage_valid**: *object*

*Defined in [hyperformula/src/license/licenseResolution.ts:60](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/license/licenseResolution.ts#L60)*

* **blocksEvaluation**: *false* = false

* **validityState**: *[VALID](enums/licensekeyvaliditystate.md#valid)* = LicenseKeyValidityState.VALID

___

### UNLICENSED_CONSOLE_NOTIFICATION

### ▪ **UNLICENSED_CONSOLE_NOTIFICATION**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:141](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L141)*

The console message for an entitlement key that does not license HyperFormula, whatever the
reason: the classic invalid-key message, as a warning. Handsontable does the same
(`handsontable/src/helpers/mixed.ts`, `_injectEntitlementProductInfo`): an unreadable key and a key
for other products only are the same failure to the developer, and the key specification leaves
the wording open.

### severity

• **severity**: *"warn"* = "warn"

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:142](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L142)*

### message

▸ **message**(): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:143](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L143)*

**Returns:** *string*

___

### consoleMessages

### ▪ **consoleMessages**: *object*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:38](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L38)*

List of all not valid messages which may occur: Handsontable's text
(`handsontable/src/helpers/mixed.ts`, `consoleMessages`), with HyperFormula as the product.

### expired

▸ **expired**(`__namedParameters`: object): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:41](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L41)*

**Parameters:**

▪ **__namedParameters**: *object*

Name | Type |
------ | ------ |
`keyValidityDate` | string |

**Returns:** *string*

### invalid

▸ **invalid**(): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:39](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L39)*

**Returns:** *string*

### missing

▸ **missing**(): *string*

*Defined in [hyperformula/src/helpers/licenseKeyValidator.ts:44](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/helpers/licenseKeyValidator.ts#L44)*

**Returns:** *string*

___

### maxDate

### ▪ **maxDate**: *object*

*Defined in [hyperformula/src/DateTimeHelper.ts:51](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L51)*

### day

• **day**: *number* = 31

*Defined in [hyperformula/src/DateTimeHelper.ts:51](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L51)*

### month

• **month**: *number* = 12

*Defined in [hyperformula/src/DateTimeHelper.ts:51](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L51)*

### year

• **year**: *number* = 9999

*Defined in [hyperformula/src/DateTimeHelper.ts:51](https://github.com/handsontable/hyperformula/blob/9f4d31b/hyperformula/src/DateTimeHelper.ts#L51)*