Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More array actions #213

Open
FredrikLindgren opened this issue Nov 15, 2021 · 1 comment
Open

More array actions #213

FredrikLindgren opened this issue Nov 15, 2021 · 1 comment
Labels

Comments

@FredrikLindgren
Copy link
Member

MERGE_ARRAYS newarray array1 array2 etc

Creates newarray from the contents of the listed arrays.

COUNT_ARRAY_VALUES array variable

Counts the number of values in the specified array and stores the result in the variable.

With PATCH counterparts.

https://forums.pocketplane.net/index.php?topic=29998.0

@4Luke4
Copy link

4Luke4 commented Dec 3, 2023

On top of that (if possible):

  • the array counterpart of VARIABLE_IS_SET (see here...)
  • a way (ACTION/PATCH) to remove elements (i.e. key => value pairs) from an array
    • something like REMOVE_ARRAY_ENTRY key value list
      • it should also take into account multi-dimensional arrays
      • if either key or value are missing (i.e. are left empty), then only check for either key or value

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants