list
The list library allows you add and retrieve values to and from lists. The list library is basically a fancy wrapper for a table, but with much more limited functionality.
It is used extensively in the built-in Sandbox gamemode for addon-extensible lists of things (list of wheel models, list of thruster effects, etc) , without using global tables for this task.
See Default Lists for a page of default Sandbox lists.
Methods
Returns true if the list contains the value. (as a value - not a key)
For a function that looks for a key and not a value see list. HasEntry.
Returns a copy of the list stored at identifier
If you don't plan to change anything in list, it's better to use list. GetForEdit for better performance.
Returns the actual table of the list stored at identifier. Modifying this will affect the stored list
Returns true if the list contains the given key.
For a function that looks for values and not keys see list. Contains.