.reset()
Resets the keys with default values from the entries that match the provided filter to their default values. Resets the keys with default values from all the entries if no filter is provided.
Last updated
Resets the keys with default values from the entries that match the provided filter to their default values. Resets the keys with default values from all the entries if no filter is provided.
Last updated
Parameter
Description
filter
Callback (optional)
Function to test each element of the array. Return a value that coerces to true
to keep the element, or to false
otherwise
Returns
Description
The reset entries