unique()
The unique() method removes duplicate values
Last updated
$arrayUtils->uniqueAs(int $sort_flags = SORT_STRING) : array;ArrayUtils::uniqueFrom(iterable $from, int $sort_flags = SORT_STRING) : ArrayUtils;ArrayUtils::uniqueFromAs(iterable $from, int $sort_flags = SORT_STRING) : array;