PythonScript Xojo Plugin

PythonDictionary.Contains Method (console safe)

Checks if the dictionary has a element with a given key

Contains(
   key as PythonEntityBase) as Boolean

Parameters

key
The key to check for. This key must be of Python type that is hash-able.

Returns

Boolean
True if the element with the given exists in the dictionary, else false.

Remarks

See Also

PythonDictionary Class