@resistdesign/voltra
    Preparing search index...

    Function encodeIndexScalarIdentity

    • Encode a scalar identity without collapsing numeric and string values.

      The type tag is part of the persisted identity: numeric 123 and string "123" intentionally produce different keys. Numeric identities must be finite; -0 is normalized to 0 because JavaScript treats them as the same map identity and DynamoDB cannot expose a useful distinction between them.

      Parameters

      Returns string