bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class DenomUnitWithDetails<T>

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    decimals: T

    The number of decimal places for this denomination unit.

    isDefaultDisplay: boolean

    Whether this denomination unit is the default display unit.

    metadata?: Metadata<T>

    Optional metadata for this denomination unit.

    symbol: string

    The symbol for this denomination unit.

    Methods

    • Compares this object's fields to another object's fields for equality. Equality is determined by comparing the JSON representations of the objects.

      If normalizeNumberTypes is true, then all number types will be compared as strings (i.e. "1n" === "1" === 1). Else, they will be compared as their native types (i.e. 1n !== 1 !== "1").

      Type Parameters

      Parameters

      • other: undefined | null | CustomType<U>
      • OptionalnormalizeNumberTypes: boolean

      Returns boolean