| summaryrefslogtreecommitdiff | 
diff options
| author | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2021-05-05 20:57:29 +0200 | 
|---|---|---|
| committer | Nathanael Sensfelder <SpamShield0@MultiAgentSystems.org> | 2021-05-05 20:57:29 +0200 | 
| commit | 0d2736d22ced1f9bf566192f8604f869e0f5c6b9 (patch) | |
| tree | 1f63bb8bda843803911546508be2b570dc83aaa6 /content/fate_v1/instructions/collections/_index.md | |
| parent | 73cc70358020538b13f2d5cf4e81426b13bbb85a (diff) | |
...
Diffstat (limited to 'content/fate_v1/instructions/collections/_index.md')
| -rw-r--r-- | content/fate_v1/instructions/collections/_index.md | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/content/fate_v1/instructions/collections/_index.md b/content/fate_v1/instructions/collections/_index.md index 5ecd3a0..fb557c2 100644 --- a/content/fate_v1/instructions/collections/_index.md +++ b/content/fate_v1/instructions/collections/_index.md @@ -29,27 +29,27 @@ Adds all the elements of `[COLLECTION]` to `[COLLECTION VAR]`. If  list.  ### EMPTYING COLLECTIONS -{{< fatecode >}}(clear [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(clear! [COLLECTION]){{< /fatecode >}}  Removes all members of `[COLLECTION]`.  ### REMOVING MEMBER -{{< fatecode >}}(remove [COMPUTATION] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove! [COMPUTATION] [COLLECTION]){{< /fatecode >}}  Removes the first member of `[COLLECTION]` equal to `[COMPUTATION]`.  ### REMOVING MEMBERS -{{< fatecode >}}(remove_all [COMPUTATION] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove_all! [COMPUTATION] [COLLECTION]){{< /fatecode >}}  Removes all instances of  `[COMPUTATION]` from `[COLLECTION]`.  ### REMOVING AT INDEX -{{< fatecode >}}(remove_at [INT] [COLLECTION]){{< /fatecode >}} +{{< fatecode >}}(remove_at! [INT] [COLLECTION]){{< /fatecode >}}  Removes the element of `[COLLECTION]` at `[INT]`.  ### REVERSING LISTS -{{< fatecode >}}(reverse [LIST]){{< /fatecode >}} +{{< fatecode >}}(reverse! [LIST]){{< /fatecode >}}  Reverses the order of the members of `[LIST]`. | 


