It doesn't start working ambiguously, it still doe...
# stdlib
k
It doesn't start working ambiguously, it still does exactly what it suggests: return the first element and if there isn't one return
null
. It's true that you can't use the nullability of the return value to check whether the collection had a first element, but maybe that's not what you needed at all.