Arr::isUnique(array $array, bool $strict = false): bool
Check if array values are unique
// Without strict flag 1 is equal to '1' Arr::isUnique([1, '1', true]) -> false Arr::isUnique([1, '1', true], true) -> true
Last updated 5 years ago