This version is out of date, covering development from v9.5.0 to v9.7.3. It is maintained here only for inbound reference links from elsewhere. It is no longer actively updated.

Jump to the current version of aTbRef

Tinderbox v9 Icon

Dictionary.contains(keyStr)


Operator Type: 

Operator Scope of Action: 

Operator Purpose: 

Operator First Added: 

Operator Last Altered: 

 Function  [other Function type actions]

 Item  [operators of similar scope]

 Query Boolean  [other Query Boolean operators]

 Baseline

 As at baseline


Dictionary.contains(keyStr)

The expression:

$MyDictionary.contains(key) 

is true if the dictionary contains the designated key.

Note that keyStr is literal string and not a regex pattern (unlike the operator's use chained with some other data types).

Dictionaries are case-sensitive, but Dictionary.icontains(key) is available for case-insensitive matching.