Readonly[unscopables]Optional[iterator]?: booleanOptional Readonly[unscopables]?: booleanIs an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.
Optionalat?: booleanOptionalconcat?: booleanOptionalcopyWithin?: booleanOptionalentries?: booleanOptionalevery?: booleanOptionalfill?: booleanOptionalfilter?: booleanOptionalfind?: booleanOptionalfindIndex?: booleanOptionalfindLast?: booleanOptionalfindLastIndex?: booleanOptionalflat?: booleanOptionalflatMap?: booleanOptionalforEach?: booleanOptionalincludes?: booleanOptionalindexOf?: booleanOptionaljoin?: booleanOptionalkeys?: booleanOptionallastIndexOf?: booleanOptionallength?: booleanGets or sets the length of the array. This is a number one higher than the highest index in the array.
Optionalmap?: booleanOptionalpop?: booleanOptionalpush?: booleanOptionalreduce?: booleanOptionalreduceRight?: booleanOptionalreverse?: booleanOptionalshift?: booleanOptionalslice?: booleanOptionalsome?: booleanOptionalsort?: booleanOptionalsplice?: booleanOptionaltoLocaleString?: booleanOptionaltoReversed?: booleanOptionaltoSorted?: booleanOptionaltoSpliced?: booleanOptionaltoString?: booleanOptionalunshift?: booleanOptionalvalues?: booleanOptionalwith?: booleanGets or sets the length of the array. This is a number one higher than the highest index in the array.
Static Readonly[species]Iterator
Adds token details to the batch details array. If the collectionId already exists, it will merge the tokenIds.
Returns the item located at the specified index.
The zero-based index of the desired code unit. A negative index will count back from the last item.
Optionaloptions: ConvertOptionsReturns the this object after copying a section of the array identified by start and end to the same array starting at position target
If target is negative, it is treated as length+target where length is the length of the array.
If start is negative, it is treated as length+start. If end is negative, it is treated as length+end.
Optionalend: numberIf not specified, length of the this object is used as its default value.
Returns an iterable of key, value pairs for every entry in the array
Determines whether all the members of an array satisfy the specified test.
A function that accepts up to three arguments. The every method calls the predicate function for each element in the array until the predicate returns a value which is coercible to the Boolean value false, or until the end of the array.
OptionalthisArg: anyAn object to which the this keyword can refer in the predicate function. If thisArg is omitted, undefined is used as the this value.
Get specific tokens for the batch details. Useful for displaying tokens on a page.
Assums that tokenIds are sorted, merged, and non-overlapping.
OptionalsortBy: "newest" | "oldest"Determines whether an array includes a certain element, returning true or false as appropriate.
The element to search for.
OptionalfromIndex: numberThe position in this array at which to begin searching for searchElement.
Returns the index of the first occurrence of a value in an array, or -1 if it is not present.
The value to locate in the array.
OptionalfromIndex: numberThe array index at which to begin the search. If fromIndex is omitted, the search starts at index 0.
Checks if the token details completely overlap with another set of token details (i.e. all tokenIds are in the other set).
Adds all the elements of an array into a string, separated by the specified separator string.
Optionalseparator: stringA string used to separate one element of the array from the next in the resulting string. If omitted, the array elements are separated with a comma.
Returns an iterable of keys in the array
Returns the index of the last occurrence of a specified value in an array, or -1 if it is not present.
The value to locate in the array.
OptionalfromIndex: numberThe array index at which to begin searching backward. If fromIndex is omitted, the search starts at the last index in the array.
Checks if the token details do not overlap with another set of token details (i.e. none of the token IDs are in the other set).
Removes the last element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
A function that accepts up to four arguments. The reduce method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
Calls the specified callback function for all the elements in an array, in descending order. The return value of the callback function is the accumulated result, and is provided as an argument in the next call to the callback function.
A function that accepts up to four arguments. The reduceRight method calls the callbackfn function one time for each element in the array.
If initialValue is specified, it is used as the initial value to start the accumulation. The first call to the callbackfn function provides this value as an argument instead of an array value.
Removes token details from the batch details array. If the collectionId already exists, it will remove the tokenIds.
Removes the first element from an array and returns it. If the array is empty, undefined is returned and the array is not modified.
Sorts an array in place. This method mutates the array and returns a reference to the same array.
OptionalcompareFn: (a: BatchTokenDetails, b: BatchTokenDetails) => numberFunction used to determine the order of the elements. It is expected to return a negative value if the first argument is less than the second argument, zero if they're equal, and a positive value otherwise. If omitted, the elements are sorted in ascending, UTF-16 code unit order.
[11,2,22,1].sort((a, b) => a - b)
Returns a string representation of an array. The elements are converted to string using their toLocaleString methods.
Optionaloptions: NumberFormatOptions & DateTimeFormatOptionsReturns a string representation of an array.
Returns an iterable of values in the array
StaticfromStaticFromStaticisStaticof
Is an object whose properties have the value 'true' when they will be absent when used in a 'with' statement.