@deephaven/jsapi-types
    Preparing search index...

    Class LongWrapper

    Wrap long values for use in JS. Provides text formatting for display and access to the underlying value.

    Hierarchy (View Summary)

    Index
    • Returns the wrapped value as a number.

      Returns number

      The wrapped long converted to a JS Number.

    • Returns the string representation of the wrapped value.

      Returns string

    • Returns the string representation of this value.

      Provided to match JavaScript's valueOf convention.

      Returns string

      The string form of this value.

    • Creates a wrapper from an integer string. The provided string may start with + or -, and must otherwise only contain the digits 0-9.

      Parameters

      • str: string

        A string representation of an integer.

      Returns LongWrapper

      A wrapper for the parsed value, or null if the parsed value is io.deephaven.util.QueryConstants.NULL_LONG.