code: def if_(*args):
      
      for i in range(0, len(args) - 1, 2):
          if args[i]:
              return args[i + 1]
      if len(args) % 2:
          return args[-1]
      else:
          return None
docs: Implements the 'if' operator with support for multiple elseif-s.