()
| 37 | return this.map.keys(); |
| 38 | } |
| 39 | async *values(): AsyncIterable<TValue > { |
| 40 | for (let value of this.map.values()) { |
| 41 | if (is.promise(value)) { |
| 42 | value = await value; |
| 43 | } |
| 44 | if (!is.nullish(value)) { |
| 45 | yield value; |
| 46 | } |
| 47 | } |
| 48 | } |
| 49 | |
| 50 | [Symbol.asyncIterator](): AsyncIterable<[TKey, TValue]> { |
| 51 | return this.entries(); |
no test coverage detected