.pull()
Removes all elements with the same value as the provided value from an array based on the provided key.
Last updated
Removes all elements with the same value as the provided value from an array based on the provided key.
Last updated
Parameter
Description
key
The key of the target array
value
The value to remove from the array
Returns
Description
The updated data from the provided key's root