Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EntryIterator

An iterator over JSONPointerMap entries

Hierarchy

  • EntryIterator

Index

Constructors

Properties

Methods

Constructors

constructor

  • Create an entry iterator

    Parameters

    • nextWithValue: () => Entry | null

      a function that returns the next entry with a value

    Returns EntryIterator

Properties

Private nextEntry

nextEntry: Entry | null

The next entry to return

Private nextWithValue

nextWithValue: () => Entry | null

A function that returns the next entry with a value

Type declaration

Methods

hasNext

  • hasNext(): boolean
  • Check if there is another entry

    Returns boolean

    true if the iterator can return a non-null next entry

next

  • Get the next entry

    throws

    a InternalError if no next entry exists

    Returns Entry

    the next entry

Copyright © 2025 DiffusionData Ltd. All Rights Reserved.