code: def is_float_integer(var) -> bool:
      """Checks if a variable is an integer or float."""
      return np.issubdtype(type(var), np.integer) or np.issubdtype(
          type(var), np.floating
      )
  
imports: from typing import Dict, List, Optional, Sequence, SupportsFloat, Tuple, Type, Union
  import numpy
  import gym.error
  from gym import logger
  from gym.spaces.space import Space
label_desc: Use image node_id 2 for calling a global function with example usage: is_float_integer(var) and returns: unknown