• Given a string of a value, try to infer the JavaScript type.

    Parameters

    • val: string

    Returns undefined | boolean | number | JSONState | string | null