Home > @magiclane/maps-sdk > ContactInfo > getFieldName
ContactInfo.getFieldName() method
Gets the field name/short description. Depends on the language set. Usually used for display in UI
Signature:
getFieldName(index: number): string | null;Parameters
Parameter | Type | Description |
|---|---|---|
index | number | Field index |
Returns:
string | null
The field name for the given index, or null if no field corresponds to the given index