(action: (child: DataSnapshot) => true | undefined)
| 574 | } |
| 575 | |
| 576 | forEach(action: (child: DataSnapshot) => true | undefined): boolean { |
| 577 | let didStop = false; |
| 578 | const children = this.native.children; |
| 579 | let object = children.nextObject(); |
| 580 | while (object) { |
| 581 | didStop = action(DataSnapshot.fromNative(object)); |
| 582 | if (didStop || !object) { |
| 583 | break; |
| 584 | } |
| 585 | object = children.nextObject(); |
| 586 | } |
| 587 | if (didStop) { |
| 588 | return true; |
| 589 | } |
| 590 | if (!object) { |
| 591 | return false; |
| 592 | } |
| 593 | } |
| 594 | |
| 595 | getPriority(): string | number { |
| 596 | return this.native.priority; |
nothing calls this directly
no test coverage detected