Deep copies the object and returns a new instance.
Converts the object to a different NumberType equivalent.
Optionaloptions: ConvertOptionsCompares 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").
OptionalnormalizeNumberTypes: booleanInternal helper method to convert the number fields of the object to a different NumberType equivalent.
Returns the [inCurrentButNotInToCheck, overlaps].
Returns the overlap between the current range and the provided range.
Checks if the object has number fields.
Returns a new UintRangeArray that is the result of inverting the current range (i.e. getting all values within the bounds that are not in the current range).
Returns true if the range is full (i.e. start = 1 and end = 18446744073709551615).
This is considered full in the context of token IDs and times.
Returns true if the range overlaps with the other range.
Returns the size of the range (i.e. end - start + 1).
Converts the object to a JSON object with all primitive types.
Converts the object to a JSON string.
Protected StaticcreateStaticFromStaticfromOptionaloptions: Partial<JsonReadOptions>StaticfromOptionaloptions: Partial<JsonReadOptions>StaticfromStaticFullReturns a new UintRange from 1 to 18446744073709551615 (max uint64).
StaticFullReturns a new UintRangeArray from 1 to 18446744073709551615 (max uint64).
UintRange represents a range of numbers from some start ID to some end ID, inclusive.
See https://docs.bitbadges.io/for-developers/core-concepts/uint-ranges for more information.