I intended to use List.filter but accidentally wrote List.where without noticing (I'm used to LINQ). To my surprise this function seems to actually exist and do the exact same thing as List.filter. However, I couldn't find any documentation on List.where on MSDN.
Are the two functions equivalent?
Yes, they're identical; I assume .where's existence is solely for LINQ users who would wonder where it is otherwise.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With