Get unique elements.
distinct() method returns the unique elements in the array.
Distinct accepts only an ordered Array as input. This means that
can be used on the results returned by an index provided the result array
has not been reordered and
flatMap() have not been called on the array.
There is no limit on the size of the array that the
distinct() method can
be run on.
The source array isn’t changed.
Unique elements in the array.
Is this article helpful?
Tell Fauna how the article can be improved:
Thank you for your feedback!