Dictionary

extension Dictionary
extension Dictionary: NodeRepresentable
  • Construct a Dictionary, if possible, from the specified mapping.

    Declaration

    Swift

    public static func construct_mapping(from mapping: Node.Mapping) -> [AnyHashable : Any]?

    Parameters

    mapping

    The Node.Mapping from which to extract a Dictionary, if possible.

    Return Value

    An instance of [AnyHashable: Any], if one was successfully extracted from the mapping.

NodeRepresentable