Black Ops III

ArrayIntersect

Returns an array of values that are present in both arrays.

Example:

newArray = ArrayIntersect( array1, array2 )

Parameters

ParameterSummary
*array1An Array
*array2An Array
[matchKeys]Optionally returns an array of matching key/value pairs from the two input arrays (preserving the keys).

* = mandatory