IsKeyEmpty is true if the key is empty.
(err error)
| 26 | |
| 27 | // IsKeyEmpty is true if the key is empty. |
| 28 | func IsKeyEmpty(err error) bool { |
| 29 | return errors.Is(err, ErrKeyEmpty) |
| 30 | } |
| 31 | |
| 32 | // IsPrefixScan is true if prefix scanning not found the result. |
| 33 | func IsPrefixScan(err error) bool { |
no outgoing calls