f::nub (public)

 f::nub xs

Defined in packages/acs-tcl/tcl/ad-functional-procs.tcl

Removes duplicates from xs.

Parameters:
xs

Partial Call Graph (max 5 caller/called nodes):
%3 test_functional_api functional_api (test acs-tcl) f::nub f::nub test_functional_api->f::nub

Testcases:
functional_api
Source code:
    set result [list]
    lmap x $xs {
        if { $x in $result } {
            continue
        }
        lappend result $x
        set x
    }
XQL Not present:
Generic, PostgreSQL, Oracle
[ hide source ] | [ make this the default ]
Show another procedure: