Return the type of the specified field.
layer configuration.
field name for which we want to get the type.
The domain of the field.
Return the type of the specified field.