Any and Any? in Swift are weird. We venture forth into the depth of unknown using Swift Reflection API as the basis for our…