Toggles values in an array, adding the values that are missing from the array and removing those that are there.This function is valid in v2.0.0 to v2.17.1. This function has been downloaded 14 times.
===) will be used to compare values. If specified, this function will be used to determine if two values are equal. The first argument will be the value within
arrayto be tested and the second will be the value within
valuesToToggleto be tested.
arraywith the common values of
valuesToToggleremoved and the missing values added.
This function requires the following function which is included automatically: