View Source ExtFit.Field (ExtFit v0.1.0)
Helper mExtFit.Fieldethods for working with fields of various types - ExtFit.Field.field/0
Summary
Functions
Recursively searches for base type within a field
Returns field's name. If field is known it will return its atom name, if field is unknown
it returns "unknown_#{num}"
.
Check if field is unknown
Types
@type field() :: ExtFit.Types.Subfield.t() | ExtFit.Types.Field.t() | ExtFit.Types.FieldData.t() | ExtFit.Types.FieldDefinition.t() | ExtFit.Types.DevFieldDefinition.t()
Functions
@spec base_type(field()) :: ExtFit.Types.BaseType.t()
Recursively searches for base type within a field
Returns field's name. If field is known it will return its atom name, if field is unknown
it returns "unknown_#{num}"
.
Check if field is unknown