SingleMapEntry

public struct SingleMapEntry<Key, Value> : _RealmMapValue, Hashable where Key : _MapKey, Value : RealmCollectionValue

Container for holding a single key-value entry in a Map. This is used where a tuple cannot be expressed as a generic argument.

  • key

    The key for this Map entry.

    Declaration

    Swift

    public var key: `Self`.Key
  • The value for this Map entry.

    Declaration

    Swift

    public var value: `Self`.Value