Rest
...items: BatchBadgeDetails<T>[]Optional
options: ConvertOptionsDetermines 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.
Optional
thisArg: 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 badges for the batch details. Useful for displaying badges on a page.
Assums that badgeIds are sorted, merged, and non-overlapping.
Optional
sortBy: "newest" | "oldest"Checks if the badge details completely overlap with another set of badge details (i.e. all badgeIds are in the other set).
Checks if the badge details do not overlap with another set of badge details (i.e. none of the badgeIds are in the other set).
Removes badge details from the batch details array. If the collectionId already exists, it will remove the badgeIds.
Static
From
Adds badge details to the batch details array. If the collectionId already exists, it will merge the badgeIds.