array_unique
laravel-shift/factory-generator
Supported Versions: PHP 4 >= 4.0.1, PHP 5, PHP 7, PHP 8
Removes duplicate values from an array
<?php array_unique
(array
$array
,
int $flags
=
SORT_STRING
): array