Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

reverse (List) → List

It creates a new list by reversing the elements of the given list from the end to the beginning.

Example:

Code Block
<O N="reverseObject1" T="Project" Category="Functions" TransAlignRule="1">
    <!-- created by ParamML Examples on 8/23/2023 -->
    <P N="List" V="[5,3,10,7,1]" />
    <P N="reversed_List" V="reverse(List)" />
</O>
Image Added

To view this example in the library, see (https://openbrim.org/app/?incubator=1&author=ParamML_Examples_OpenBrIM+Platform&obj=objidy0u836q12wgh38znzflrs )