singleOrNull - what's your expectation?

A stdlib function that ends on “orNull” never throws an exception. It’s easy to remember that.

1 Like