Skip to content

Function: array_intersect() ​

array_intersect<T>(...arrays): T[]

Defined in: src/php-arrays.ts:279

Compute the intersection of arrays.

Type Parameters ​

T ​

T

Parameters ​

arrays ​

...T[][]

The arrays to intersect

Returns ​

T[]

The intersection of the arrays

Documentation of 1.0.13 , built from cf61d3b on 1.0.13 by pipeline #2985011498 on 2026-10-21.