tensorstore.KvStore.KeyRange.empty : bool

Indicates if the range contains no keys.

Example

>>> r = ts.KvStore.KeyRange(b'x', b'y')
>>> r.empty
False
>>> r = ts.KvStore.KeyRange(b'x', b'x')
>>> r.empty
True
>>> r = ts.KvStore.KeyRange(b'y', b'x')
>>> r.empty
True