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
Currently in the *Set interfaces, you can pass in a filter function to the List. The way it currently works is that when the filter function returns true, the item is excluded from the list. Conventionally, a filter function should return true to include the item in the results, and false to exclude it.
We should consider changing how all the List filter functions are implemented, or possibly rename the function to something less confusing. If we make this change, we should do it across all our repos to be consistent (for example, SMH also defines some interfaces with a List function).
This would be a breaking change.
The text was updated successfully, but these errors were encountered:
Currently in the *Set interfaces, you can pass in a filter function to the List. The way it currently works is that when the filter function returns true, the item is excluded from the list. Conventionally, a filter function should return true to include the item in the results, and false to exclude it.
We should consider changing how all the List filter functions are implemented, or possibly rename the function to something less confusing. If we make this change, we should do it across all our repos to be consistent (for example, SMH also defines some interfaces with a List function).
This would be a breaking change.
The text was updated successfully, but these errors were encountered: