@pleisto/active-support
Preparing search index...
diff
Variable diff
Const
diff
:
<
T
>
(
root
:
readonly
T
[]
,
other
:
readonly
T
[]
,
identity
?:
(
item
:
T
)
=>
string
|
number
|
symbol
,
)
=>
T
[]
Returns all items from the first list that do not exist in the second list.
Type declaration
<
T
>
(
root
:
readonly
T
[]
,
other
:
readonly
T
[]
,
identity
?:
(
item
:
T
)
=>
string
|
number
|
symbol
,
)
:
T
[]
Type Parameters
T
Parameters
root
:
readonly
T
[]
other
:
readonly
T
[]
Optional
identity
:
(
item
:
T
)
=>
string
|
number
|
symbol
Returns
T
[]
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
@pleisto/active-support
Loading...
Returns all items from the first list that do not exist in the second list.