Preparing search index...
The search index is not available
@pleisto/active-support
@pleisto/active-support
intersects
Function intersects
intersects
<
T
,
K
>
(
listA
,
listB
,
identity
?
)
:
boolean
Given two arrays, returns true if any elements intersect
Type Parameters
T
K
extends
string
|
number
|
symbol
Parameters
listA
:
readonly
T
[]
listB
:
readonly
T
[]
Optional
identity
:
(
(
t
)
=>
K
)
(
t
)
:
K
Parameters
t
:
T
Returns
K
Returns
boolean
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Given two arrays, returns true if any elements intersect