bod
04/23/2020, 6:02 PMindexOf but with a default value (instead of -1). Is this something that exists? If not, I'm gonna make my own extension - what would you name it? 🙂spand
04/23/2020, 6:11 PMindexOfOrDefault() . In my projects I have made indexOfOrNull() that sort of handles the same casebod
04/23/2020, 6:22 PMindexOfOrNull could be good too 🤔