Set

extension Set
  • Construct a Set, if possible, from the specified mapping.

    Declaration

    Swift

    public static func construct_set(from mapping: Node.Mapping) -> Set<AnyHashable>?

    Parameters

    mapping

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

    Return Value

    An instance of Set<AnyHashable>, if one was successfully extracted from the mapping.