array_copy_unique
array_copy_unique(source, source_position, destination, destination_position, length) ⇒ number
Copy data from one array to another if they are not present in the destination array
Kind: global function
Returns: number
- unique addition count
Param | Type | Description |
---|---|---|
source | Array.<T> | The source array |
source_position | number | Starting position where to copy from inside the source array |
destination | Array.<T> | The destination array |
destination_position | number | Starting position where to copy to inside the destination array |
length | number | How many elements should be copied |