Is there a way for a function to return non nullable value even if it has possibility to return one?
I am calling a simple function that returns a duration object. However, it is null at times. I want to modify the code so that it can return only a duration object and not duration? object.