Why is this internal? `someLong.toIntOrNull()` wou...
# announcements
m
Why is this internal?
someLong.toIntOrNull()
would be nice if the value is out of range
e
#stdlib would be great to know what’s your use-case for it?
m
I use it for value transformation in my GraphQL library. Accept if it’s Int-compatible, reject otherwise. I’ve basically copied the internal implementation of stdlib.