code: def cond(
      pred, true_fun, false_fun, *operands, operand=None, linear=None
  ):
      if operand is not None:
          if operands:
              raise ivy.utils.exceptions.IvyException(
                  "if `operand` is passed, positional `operands` should not be passed"
              )
          operands = (operand,)
  
      if pred:
          return true_fun(*operands)
      return false_fun(*operands)
  
file_path: ivy/ivy/functional/frontends/jax/lax/control_flow_operators.py
imports: import ivy
  from ivy.functional.frontends.jax.func_wrapper import to_ivy_arrays_and_back
label_desc: Use image node_id 1 for calling a global function with example usage: cond(pred, true_fun, false_fun) and returns: false_fun, true_fun