Discord.SortedSet.from_proper_enumerable
You're seeing just the function
from_proper_enumerable, go back to Discord.SortedSet module for more information.
Specs
from_proper_enumerable( terms :: [Discord.SortedSet.Types.supported_term()], bucket_size :: pos_integer() ) :: t() | Discord.SortedSet.Types.common_errors()
Construct a new SortedSet from a proper enumerable
An enumerable is considered proper if it satisfies the following:
- Enumerable is sorted
- Enumerable contains no duplicates
- Enumerable is made up entirely of supported terms
This method of construction is much faster than iterative construction.
See from_enumerable/2 for enumerables that are not proper.