* @param {number} client * @param {number} clock
(client, clock)
| 197 | * @param {number} clock |
| 198 | */ |
| 199 | has (client, clock) { |
| 200 | const dr = this.clients.get(client) |
| 201 | if (dr) { |
| 202 | return findIndexInIdRanges(dr.getIds(), clock) !== null |
| 203 | } |
| 204 | return false |
| 205 | } |
| 206 | |
| 207 | /** |
| 208 | * Return slices of ids that exist in this idset. |
no test coverage detected