Home > @magiclane/maps-sdk > ContactInfo > getFieldType

ContactInfo.getFieldType() method

Gets the field type.

Signature:

getFieldType(index: number): ContactInfoFieldType | null;

Parameters

Parameter

Type

Description

index

number

Field index

Returns:

ContactInfoFieldType | null

The field type for the given index, or null if no field corresponds to the given index