Mapping

public struct Mapping
extension Node.Mapping: Comparable
extension Node.Mapping: Equatable
extension Node.Mapping: Hashable
extension Node.Mapping: ExpressibleByDictionaryLiteral
extension Node.Mapping: MutableCollection

A mapping is the YAML equivalent of a Dictionary.

Collection

  • The index type for this mapping.

    Declaration

    Swift

    public typealias Index = Array<Element>.Index

Dictionary-like APIs