@omnist-dev/omnist
    Preparing search index...

    Function valueKind

    • The most specific scalar kind a JS value matches, for error messages. Mirrors omnist/schema.py's value_kind; integer is reported even though it also matches number. A real Date is reported as datetime (the Document layer's single representation for both date and datetime, see matchesKind's doc comment above -- datetime is the more general of the two, so it is the more informative guess absent a declared field kind to disambiguate against).

      Parameters

      • v: unknown

      Returns "string" | "number" | "boolean" | "date" | "datetime" | "integer" | "time"