code: def get_typed_return_annotation(call: Callable[..., Any]) -> Any:
      """Get the return annotation of a function.
  
      Args:
          call: The function to get the return annotation for
  
      Returns:
          The return annotation of the function
      """
      signature = inspect.signature(call)
      annotation = signature.return_annotation
  
      if annotation is inspect.Signature.empty:
          return None
  
      globalns = getattr(call, "__globals__", {})
      return get_typed_annotation(annotation, globalns)
  
imports: import functools
  import inspect
  import json
  from logging import getLogger
  from typing import Any, Callable, Dict, ForwardRef, List, Optional, Set, Tuple, Type, TypeVar, Union
  from pydantic import BaseModel, Field
  from typing_extensions import Annotated, Literal, get_args, get_origin
  from ._pydantic import JsonSchemaValue, evaluate_forwardref, model_dump, model_dump_json, type2schema
label_desc: Use image node_id 3 for calling a global function with example usage: get_typed_return_annotation(call) and returns: get_typed_annotation, None