dict#

swordfish.function.dict()#

Return a dictionary object.

Parameters:
  • keyType (Constant) – The data type of dictionary keys. The following data categories are supported: Integral (excluding COMPRESSED), Temporal, Floating and Literal.

  • valueType (Constant) – The data type of dictionary values. Note that COMPLEX/POINT is not supported.

  • ordered (Constant, optional) – A Boolean value. The default value is false, which indicates to create a regular dictionary. True means to create an ordered dictionary.