code: def _on_off_dtype(draw):
      dtype, value = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("numeric"),
              shape=(2,),
              safety_factor_scale="log",
          )
      )
      [on_value, off_value] = value[0]
      return on_value, off_value, dtype[0]
  
imports: from hypothesis import strategies, assume
  import numpy
  import ivy
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test, BackendHandler
  import ivy_tests.test_ivy.helpers.globals
  from ivy_tests.test_ivy.test_functional.test_core.test_dtype import astype_helper
label_desc: Use image node_id 6 for calling a global function with example usage: _on_off_dtype(draw) and returns: on_value,  off_value,  dtype