Skip to main content
Version: Next

Reverse List

Reverses list so that the first element becomes the last, the second element becomes the second to last, and so on

Description

Reverses list so that the first element becomes the last, the second element becomes the second to last, and so on.

Examples:

  • inputs

    • source = [1, 2, 3, 4]
  • outputs

    • result = [4, 3, 2, 1]

Inputs

  • Source (Object)

Outputs

  • Result (Object): The reversed list
  • Error Flow (Error Flow)