File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -53,25 +53,25 @@ extension RedisData {
53
53
}
54
54
55
55
/// Extracts the binary data from a Redis BulkString
56
- public var data : Data ? {
56
+ var data : Data ? {
57
57
guard case . bulkString( let data) = self else { return nil }
58
58
return data
59
59
}
60
60
61
61
/// Extracts an array type from this data
62
- public var array : [ RedisData ] ? {
62
+ var array : [ RedisData ] ? {
63
63
guard case . array( let array) = self else { return nil }
64
64
return array
65
65
}
66
66
67
67
/// Extracts an array type from this data
68
- public var int : Int ? {
68
+ var int : Int ? {
69
69
guard case . integer( let int) = self else { return nil }
70
70
return int
71
71
}
72
72
73
73
/// `true` if this data is null.
74
- public var isNull : Bool {
74
+ var isNull : Bool {
75
75
switch self {
76
76
case . null: return true
77
77
default : return false
You can’t perform that action at this time.
0 commit comments