(action: (child: DataSnapshot) => true | undefined)
| 602 | }; |
| 603 | } |
| 604 | forEach(action: (child: DataSnapshot) => true | undefined): boolean { |
| 605 | const iterator = this.native.getChildren().iterator(); |
| 606 | let stopEnumerate = false; |
| 607 | while (!stopEnumerate) { |
| 608 | if (iterator.hasNext()) { |
| 609 | const object = iterator.next(); |
| 610 | stopEnumerate = action(DataSnapshot.fromNative(object)); |
| 611 | } else { |
| 612 | stopEnumerate = true; |
| 613 | } |
| 614 | } |
| 615 | return stopEnumerate; |
| 616 | } |
| 617 | getPriority(): string | number { |
| 618 | return this.native.getPriority(); |
| 619 | } |
nothing calls this directly
no test coverage detected