objectToDictionary
|
The objectToDictionary function converts the arguments {source} into
a Dictionary returning the new Dictionary. If there are two arguments, such as {vector1} and {vector2},
the items from both vectors are paired to form a Dictionary. If there are two arguments,
and they are a combination of Structures, Dictionaries, or Directories, the values of
the first argument are updated with the values of the second argument, only when the
keys match. If the object is already a Dictionary, it is returned unchanged. Usage The objectToDictionary function is used to convert a Vector, Structure, or
Directory object to a Dictionary object. The objectToDictionary function is
also useful for key-based merge and update of an existing Dictionary, using the
key-value pairs from a collection object such as a Structure or Directory.
A Vector object may also update the values of an existing Dictionary.
(objectToDictionary obj) A new Dictionary object.
Expression:
Arguments
Name
Type
Description Argument: obj Vector Structure Dictionary
A Vector, Structure or Dictionary object.
Returns:
Here are a number of links to Lambda coding examples which contain this instruction in various use cases.
Here are the links to the data types of the function arguments.
Dictionary |
Here are also a number of links to functions having arguments with any of these data types.
Analytic Information Server (AIS)AIS Component Systems
|