Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

associate

dictionary associate(keys, values)

Returns a new dictionary with the keys of first container having the values of second container.

If an array of keys is used and it contains duplicates then it will be associated with the rightmost value. If an array of values is used and it has fewer elements that keys then the entry will have a null value.

Parameters

  1. keys — a array or dictionary with keys to use, otherwise converted to text then used as a single key.
  2. values — a array or dictionary with values to use, otherwise the value for every entry.

Returns

  • a dictionary of keys with values, otherwise null.
Note! This documentation is also accessible within the app from Help & feedback menu.