As discussed in the comments, I submitted a request because it does not seem to me that I support this feature. Using the instanceof approach, "Function" is the closest to the representation of the object instance for the constructor. As already mentioned, @constructs or @returns can help you specify the output, but not the input parameter.
source share