mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-12 09:33:32 +01:00
docs: improve documentation (#1898)
* improve channel documentation * forgot some stuff * another one * im good at this * i did a dum
This commit is contained in:
@@ -413,10 +413,10 @@ class Collection extends Map {
|
||||
}
|
||||
|
||||
/**
|
||||
* The sort() method sorts the elements of a collection in place and returns the collection.
|
||||
* The sort() method sorts the elements of a collection and returns it.
|
||||
* The sort is not necessarily stable. The default sort order is according to string Unicode code points.
|
||||
* @param {Function} [compareFunction] Specifies a function that defines the sort order.
|
||||
* if omitted, the collection is sorted according to each character's Unicode code point value,
|
||||
* If omitted, the collection is sorted according to each character's Unicode code point value,
|
||||
* according to the string conversion of each element.
|
||||
* @returns {Collection}
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user