14 lines
330 B
Go
14 lines
330 B
Go
package upnp
|
|
|
|
func (sv StateValue) Cmp(a, b interface{}) (int, error) {
|
|
return sv.valueType.Cmp(a, b)
|
|
}
|
|
|
|
func (sv StateValue) Equal(a, b interface{}) (int, error) {
|
|
return sv.valueType.Cmp(a, b)
|
|
}
|
|
|
|
func (sv StateValue) InRange(val interface{}, interval *ValueRange) (bool, error) {
|
|
return sv.valueType.InRange(val, interval)
|
|
}
|