ArrayRandomSelection Op
Extract a definable amount of values from an array
Summary (oneliner)
Setting elements to 5 on an array with 60 values will extract random 5 values from the array. Seed changes which numbers are extracted.
Full Name
- Ops.Array.ArrayRandomSelection
- Core Op - Official cables op
- MIT
Documentation (markdown)
Issues
Example patch id
Youtube ids (comma seperated)
Op Licence
Caniuse query
Example Patch ArrayRandomSelection example
INPUT PORTS
Array (Array)
The array in to extract random values from
Elements (Number: integer)
Amount of elements to extract
Seed (Number)
Random number seed. 0 is always different on a reload. Set to a number to keep a fixed seed.
OUTPUT PORTS
Result (Array)
Array Out
Array length (Number)