code: def assert_is_numeric(value):
      is_int_or_float = isinstance(value, (int, float))
      type_name = type(value).__name__
      is_numpy_int_or_float = "int" in type_name or "float" in type_name
      assert any([is_int_or_float, is_numpy_int_or_float])
  
file_path: datashader/datashader/tests/test_tiles.py
imports: from __future__ import annotations
  import datashader
  import datashader.transfer_functions
  from datashader.colors import viridis
  from datashader.tiles import render_tiles
  from datashader.tiles import gen_super_tiles
  from datashader.tiles import _get_super_tile_min_max
  from datashader.tiles import calculate_zoom_level_stats
  from datashader.tiles import MercatorTileDefinition
  import numpy
  import pandas
label_desc: Use image node_id 6 for calling a global function with example usage: assert_is_numeric(value) without return types