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

   » true

table.tableContains (@examples, @examples) //a table contains itself according to this verb

   » true

table.tableContains (@examples, @root) //a table does not contain its parent

   » false

table.tableContains (@examples, @user.prefs.mailAddress)

   » false

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

table.inGuestDatabase

Discuss