Ask Your Question
2

What method can be used to identify functions that have an object return type?

asked 2021-05-26 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2021-05-05 03:00:00 +0000

david gravatar image

One method that can be used to identify functions that have an object return type is to look for the class keyword in the function signature. Functions that return objects typically have a class name before the function name. Another method is to check the documentation or source code of the function to see if it returns an object.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-05-26 11:00:00 +0000

Seen: 16 times

Last updated: May 05 '21