Dictionary

public extension Dictionary where Key == String, Value == Any

Available where Key == String, Value == Any

  • Returns a new dictionary removing the key-value pairs of the dictionary that have an empty or null value.

    Declaration

    Swift

    func filterVoid() -> [String : Any]