tinyredis v2.0.6 (2015-12-11T10:39:41Z)
Home
Dub
Repo
Response.opCast
tinyredis
response
Response
Allows casting a Response to an integral, bool or string
T
opCast
()
struct
Response
T
opCast
(
T
)
(
)
if
(
is
(
T
==
bool
) ||
is
(
T
==
byte
)
||
is
(
T
==
short
)
||
is
(
T
==
int
)
||
is
(
T
==
long
)
||
is
(
T
==
string
)
)
C
[]
opCast
()
Meta
Source
See Implementation
tinyredis
response
Response
functions
isArray
isError
isInt
isNil
isStatus
isString
isValid
opApply
opApplyReverse
opCast
properties
back
empty
front
popBack
popFront
save
toBool
toBytes
toDiagnosticString
toInt
toString
unions
__anonymous
variables
count
type
Allows casting a Response to an integral, bool or string