We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb0f25c commit fa5b765Copy full SHA for fa5b765
CHANGELOG.md
@@ -273,6 +273,8 @@ This is a major release and breaks backwards compatibility.
273
274
- Replaced `ArrayCursor` methods `hasNext` and `hasMore` with getters
275
276
+- Renamed `ArrayCursor` method `each` to `forEach`
277
+
278
- Graph collection return values now contain `old` and `new` properties when
279
`returnOld` or `returnNew` options are used
280
src/cursor.ts
@@ -216,7 +216,7 @@ export class ArrayCursor<T = any> {
216
/**
217
* TODO
218
*/
219
- async each(
+ async forEach(
220
fn: (value: T, index: number, self: ArrayCursor<T>) => boolean | void
221
): Promise<boolean> {
222
let index = 0;
0 commit comments