Double
extension Double: RESPValueConvertible
-
Attempts to translate the
RESPValue
as aDouble
.This will only succeed if the value is a ASCII representation in a
.simpleString
or.bulkString
, or is an.integer
.See
RESPValueConvertible.init(fromRESP:)
andString.init(fromRESP:)
Declaration
Swift
public init?(fromRESP value: RESPValue)
-
Declaration
Swift
public func convertedToRESPValue() -> RESPValue