Function getHaysonValueKind

  • Classify the kind of a raw Hayson value without decoding/allocating it into a real HVal.

    Parameters

    • val: undefined | HaysonVal

      The raw Hayson value to classify.

    Returns Kind | undefined

    The kind of the value or undefined if it's null/undefined.