FieldDetails

protocol FieldDetails : Hashable

Basic information about a Trait field.

  • Whether the field is optional.

    Declaration

    Swift

    var isOptional: Bool { get }
  • The constraint for the field.

    Declaration

    Swift

    var constraint: Constraint? { get }
  • The field.

    Declaration

    Swift

    var field: any Field { get }