Dictionary
extension Dictionary: DictionaryParameter
extension Dictionary: BasicType
extension Dictionary: WrapperCompatible
extension Dictionary: AnyModel
-
Undocumented
Declaration
Swift
public var dictionaryValue: [Key : Value] { get }
-
Undocumented
Declaration
Swift
public var isNotEmpty: Bool { get }
-
Undocumented
Declaration
Swift
public func has(key: Key) -> Bool
-
Undocumented
Declaration
Swift
public mutating func removeAll<S>(keys: S) where Key == S.Element, S : Sequence
-
Undocumented
Declaration
Swift
public func decoded<T>(using decoder: JSONDecoder = JSONDecoder(), as type: T.Type = T.self) throws -> T where T : Decodable
-
链式方式指定key对应值,返回新字典
Declaration
Swift
public func chainValue( _ key: Key, _ value: Value? ) -> Self
-
链式方式调用句柄,返回新字典
Declaration
Swift
public func chainBlock( _ closure: (inout Self) -> Void ) -> Self