function flattenNullableFieldDefinition(fieldTypeDefinition): FieldTypeDefinition
If the field type is of the form [ScalarFieldTypeEnum.NULL, ...] this function returns [...]. Otherwise, it returns
the input field type itself. If [...] is a single entry, it unwraps that entry.
Parameters
| Parameter | Type |
|---|---|
fieldTypeDefinition | FieldTypeDefinition |