si-funciona
    Preparing search index...

    Function nextReference

    • Find the index (within descriptor.details) of the next referenced property - after currentReference - whose own nested object/array still needs its descriptor built. Used to walk through a descriptor's references one at a time while building out a descriptorMap.

      Parameters

      • descriptor: descriptor

        The descriptor whose references to search.

      • currentReference: number

        The details index already processed - search continues after this one.

      Returns number

      The next detail index to process, or undefined if none remain.