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

Functions

@spec base_type(field()) :: ExtFit.Types.BaseType.t()

Recursively searches for base type within a field

@spec name(field()) :: atom() | String.t()

Returns field's name. If field is known it will return its atom name, if field is unknown it returns "unknown_#{num}".

@spec unknown?(field()) :: boolean()

Check if field is unknown