Skip to main content

MapPair

Pair type that corresponds with the Map type.

See also:

Constructors

MapPair(const MapPair other) -> MapPair

Creates a copy of an existing MapPair object.

Parameters

  • other: The MapPair object to copy.

MapPair(const string first, const Object second) -> MapPair

Constructs a pair with the specified first and second elements.

Parameters

  • first: The first element of the pair.
  • second: The second element of the pair.

Members

NameDescription
firstReturns the first element of the pair.
secondReturns the second element of the pair.