Thinking about it a bit more I’m not sure that’s possible because it would need to return 1 or -1 depending on the context of it being an upper bounds check or a lower bounds check which is lost at the time of call, so it’d probably need to be an infix function like
infix fun NumberType?.lowerBounds(other: NumberType?)