Syntax
Parameters
Parameter | Description | Supported input types |
---|---|---|
<array> | The array to be deduplicated | ARRAY |
Return Type
ARRAY
of the same type as the input array
Example
In the following example, the unique levels of the game are returned in an array calledlevels
:
[1,2,3,4,NULL]