There is no really need to utilize a return statement as the compiler can infer that you might want to return the result of the expression I had the exact same trouble As well as in my case I was utilizing bool as opposed to Boolean. The moment I transformed https://smartworlddeveloper.co.in/