(index: number)
| 125 | } |
| 126 | |
| 127 | getNthOrNull(index: number): DataType | null { |
| 128 | if (index >= this.array.length) { |
| 129 | return null; |
| 130 | } |
| 131 | return this.array[index]; |
| 132 | } |
| 133 | |
| 134 | getByIdOrNull(id: string): DataType | null { |
| 135 | return this.byId.get(id) ?? null; |
no outgoing calls
no test coverage detected