table.tableContains
| Syntax |
table.tableContains (adrTable, adrItem)
|
| Params |
adrTable is the address of a table that may or may not contain an item. adrItem is the address of an item that may or may not be contained by the table.
|
| Action |
Determine if a table contains an item.
|
| Returns |
True if the table contains the item, false otherwise.
|
| Examples |
table.tableContains (@examples, @examples.Universe) » true
table.tableContains (@examples, @examples.subTable1.message) //sub-tables are checked
table.tableContains (@examples, @examples) //a table contains itself according to this verb
table.tableContains (@examples, @root) //a table does not contain its parent
table.tableContains (@examples, @user.prefs.mailAddress)
|
| Notes |
If an item is in a sub-table of a table, at any depth, the verb returns true. This verb is implemented as a script.
|
| See Also |
defined
|