Is it possible to write a typehint in python that guarantees if None is given to a function then None is returned?
None
For example this is possible: