Creates a name-value table from the names and values passed.

Example

asMap('length', '100', 'width', '20', 'height', 10) creates the following name-value table:

  • length → 100
  • width → 20
  • height → 10