OTX Reference  
OpenTestSystem.Otx.Core.Terms.MapGetSize Class Reference

Number of elements in a map More...

Inheritance diagram for OpenTestSystem.Otx.Core.Terms.MapGetSize:
Inheritance graph

Public Attributes

MapTerm map
 Reference to a map. More...
 
- Public Attributes inherited from OpenTestSystem.Otx.Core.Terms.Term
MetaData metaData
 Store additional More...
 

Detailed Description

Number of elements in a map

MapGetSize is a term which returns as a result the number of elements in the Map.

Syntax
IntegerTerm = MapGetSize(MapTerm);
Examples
// Local Declarations
Map<Integer, String> map = {{1:"text1"}, {2:"text2"}};
Integer result;
// Flow
//Returns the result = 2
result = MapGetSize(map);
MapTerm map
Reference to a map.
Definition: Core.cs:8441

Member Data Documentation

◆ map

MapTerm OpenTestSystem.Otx.Core.Terms.MapGetSize.map

Reference to a map.