Status/Resolution/Reason: Closed/Withdrawn/TooManySideEffects
Reporter/Name(from Bugbase): Aaron Neff / Aaron Neff ()
Created: 02/16/2018
Components: Language, Closures
Versions: 2018
Failure Type: Others
Found In Build/Fixed In Build: /
Priority/Frequency: Normal /
Locale/System: /
Vote Count: 0
Callback support was added to ArrayFind. ArrayFindAll has always supported callback.
This ER is to add same callback support to ArrayContains and ArrayDelete.
Of course this means ArrayContains/ArrayDelete will treat the passed-in function as a callback instead of the value to search for. But same was the case for ArrayFind, and searching for functions isn't even 100% reliable. So that definitely shouldn't preclude same enhancement to be made for ArrayContains/ArrayDelete that was made for ArrayFind.
Attachments:
Comments: