distinct

array distinct(array)

Returns a copy of array without any duplicate elements.

Parameters

  1. arrayarray to filter.

Returns