Tinderbox 8 Icon

List/Set.lookup()


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Altered: 

 Function   [other Function type actions]

 List   [operators of similar scope]

 Set & List operations   [other Set & List operations operators]

 Baseline

 


List.lookup()

This The command .lookup() behaves like list.at() but only for look-up tables. For look-up tables .lookup() is preferred to .at() for clarity, and to avoid ambiguity when the argument is numeric.

$MyString.at(5) ← the fifth element of the list

$MyString.lookup(5) ← the lookup result for "5"