SheetXL - v0.8.0-beta.9+sites.210.e2d420901
    Preparing search index...

    Type Alias ScalarType

    ScalarType: typeof ScalarType[keyof typeof ScalarType]

    Identifies which variant of Scalar a cell value is.

    Because Scalar is a union type, ScalarType gives you a safe, string-based discriminant for branching on value kind — useful in formula implementations, data-profiling UIs, and type-coercion logic without relying on typeof or instanceof checks that do not cover all cases (e.g. null, FormulaError, IRichData).

    Dates have no dedicated variant. They are stored as Number values with a number format applied. Use FormulaContext.isValidDate to distinguish them at runtime. InteropScalarType extends this enum with a Date variant for API boundaries that accept JavaScript Date objects.