-
Notifications
You must be signed in to change notification settings - Fork 1
array_unique
Hyomoto edited this page Jun 13, 2021
·
5 revisions
Jump To | Go Back |
Arguments |
---|
Returns: array
Throws: InvalidArgumentType
Returns a new array that contains the unique elements of array
. If an array is not provided, InvalidArgumentType will be thrown.
array_unique( [ 10, 10, 20, 20, 30 ] );
Output: [ 10,20,30 ]
Name | Type | Purpose |
---|---|---|
array | array |
No description |
Devon Mullane 2020