code: def infer_type(val: Any):
      return type(val)
  
imports: from dataclasses import dataclass, field
  from functools import singledispatch
  from typing import Any, Dict, Type, Union
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: infer_type(val) and returns: type