Skip to content

AnyCodable

pokryfka edited this page Aug 10, 2020 · 1 revision

AnyCodable

!((swift(>=5.1)))
public struct AnyCodable:​ Codable

Inheritance

Codable, Codable, CustomDebugStringConvertible, CustomDebugStringConvertible, CustomStringConvertible, CustomStringConvertible, Equatable, Equatable

Initializers

init(_:​)

swift(>=5.1)
public init<T>(_ value:​ T?)

init(_:​)

!((swift(>=5.1)))
public init<T>(_ value:​ T?)

Properties

value

swift(>=5.1)
let value:​ Any

value

!((swift(>=5.1)))
let value:​ Any

description

var description:​ String

debugDescription

var debugDescription:​ String

Methods

==(lhs:​rhs:​)

public static func ==(lhs:​ AnyCodable, rhs:​ AnyCodable) -> Bool