Analytics.TERR.DataList.getElementType()
Signature
String getElementType(Object dataList, int elementIndex)
Description
Returns the datatype of the element present at the index mentioned in the passed DataList Object.
Parameters
Name | Type | Description |
dataList | Object | The DataList Object. |
elementIndex | int | The index of the element whose type needs to be fetched from the passed DataList Object. |
Returns
Type | Description |
String | Returns the datatype of the element present at the index mentioned in the passed DataList Object. |
Example
int elementIndex = 2;
String elementType = Analytics.DataList.getElementType(dataList,elementIndex);