Contents
Casts an object to a non-max integer, being None if it is the maximum value.
val – The value to cast…
An integer, or None if the value equals the max possible integer.