code: def _dtype_x_limited_axis(draw, *, allow_none=False):
      dtype, x, shape = draw(
          helpers.dtype_and_values(
              available_dtypes=helpers.get_dtypes("float"),
              min_num_dims=1,
              min_dim_size=1,
              ret_shape=True,
          )
      )
      if allow_none and draw(st.booleans()):
          return dtype, x, None
  
      axis = draw(helpers.ints(min_value=0, max_value=len(shape) - 1))
      return dtype, x, axis
  
file_path: ivy/ivy_tests/test_ivy/test_functional/test_core/test_searching.py
imports: from hypothesis import strategies
  import ivy_tests.test_ivy.helpers
  from ivy_tests.test_ivy.helpers import handle_test
label_desc: Use image node_id 2 for calling a global function with example usage: _dtype_x_limited_axis(draw) and returns: dtype,  x,  axis, dtype,  x,  None