Skip to content
Spreadsheet Engine

isPivotLookupError

function isPivotLookupError(value): value is PivotLookupError;

Whether the value is a PivotLookupError. Sound in both directions: only pivotLookupError can attach the module-private symbol brand, so brand-present is equivalent to is-error.

unknown

value is PivotLookupError