ArrayUnique Op
filters an array for duplicate items and returns all unique items in a new array
Summary (oneliner)
<p>when given an array with "non" unique items, like:</p> <pre><code class="language-javascript">const a = [ "maus", "hund", "maus", "katze", "maus", ]; </code></pre> <p>will return only the unique values in that array, as a new array, so:</p> <pre><code class="language-javascript">const a = [ "hund", "katze", "maus", ]; </code></pre>
- Ops.Array.ArrayUnique
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
INPUT PORTS
<p>input array</p>
<i>integer</i>
)<p>choose between 3 different unique modes: x, xy, xyz</p>
<p>choose between 3 different unique modes: x, xy, xyz</p>
OUTPUT PORTS
<p>deduped array output</p>
<p>length of the new array</p>