You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For lots of design paradigms (e.g. my blacklisted set of keys is shared and represented as an array, or I've derived the list of keys from an API and don't have them as individual values), this is frustrating.
This thread indicates that there is no language-specific way to pass an array into a variadic parameter. Thus I think $ should support this (the variadic versions can call into the array versions)
The text was updated successfully, but these errors were encountered:
For example I cannot currently do this:
$.omit(myDictionary, keys: ["one", "two", "three"])
But must instead do this:
$.omit(myDictionary, keys: "one", "two", "three")
For lots of design paradigms (e.g. my blacklisted set of keys is shared and represented as an array, or I've derived the list of keys from an API and don't have them as individual values), this is frustrating.
This thread indicates that there is no language-specific way to pass an array into a variadic parameter. Thus I think
$
should support this (the variadic versions can call into the array versions)The text was updated successfully, but these errors were encountered: