NAME
LappendIfNotAlready — Check to see if value(s) are already in list, append if not.
SYNOPSIS
LappendIfNotAlready ListVarName Values
DESCRIPTION
Return Value
New contents of the list.
Arguments
ListVarNameName of the list variable to append to.
ValuesValue or values to append to the list.

For information regarding exceptions / errors, see here.
EXAMPLES
% set MyList [list one two three]
one two three
% LappendIfNotAlready MyList three
one two three
% LappendIfNotAlready MyList {four five}
one two three four five
SEE ALSO
lappend, lsearch
KEYWORDS
list, modify