I program in three languages in any given week, not to mention using CloudFormation where every resource type has its own configuration. Why would I try to remember what a function returns off the top of my head?
For instance, I do a lot of work with Python and Boto3 - the SDK for AWS (https://boto3.amazonaws.com/v1/documentation/api/latest/inde...). Why memorize what any of the literally hundreds of functions return when I can just call the function and inspect the response within the IDE?