RedisZScoreBound

public enum RedisZScoreBound
extension RedisZScoreBound: CustomStringConvertible
extension RedisZScoreBound: ExpressibleByFloatLiteral
extension RedisZScoreBound: ExpressibleByIntegerLiteral

Represents a range bound for use with the Redis SortedSet commands related to element scores.

This type conforms to ExpressibleByFloatLiteral and ExpressibleByIntegerLiteral, which will initialize to an .inclusive bound.

For example:

let literalBound: RedisZScoreBound = 3 // .inclusive(3)
let otherLiteralBound: RedisZScoreBound = 3.0 // .inclusive(3)
let exclusiveBound = RedisZScoreBound.exclusive(4)