UNPKG

qcobjects-docs

Version:

The official app and website for documentation of QCObjects

10 lines (7 loc) 261 B
### [ArrayList or Array].unique Filters an Array or an ArrayList object to obtain only unique elements. NOTE: It only filters a single value sequence. ```javascript let my_unique_list = [0,1,2,1,2].unique() // will result in: my_unique_list = [ 0, 1, 2 ] ```