TypeErasedValue

public protocol TypeErasedValue

[Internal] Used as generic constraint for generic method stubs.

  • [internal] Returned value

    Declaration

    Swift

    var value: Any { get }
  • [internal] Used to describe attribute generocity (0 is general, 1 is specific)

    Declaration

    Swift

    var intValue: Int { get }
  • [internal] Used to compare with other generic attributes values

    Declaration

    Swift

    var compare: (Any, Any, Matcher) -> Bool { get }
  • [internal] Used for formatting messages.

    Declaration

    Swift

    var shortDescription: String { get }