Nyora (JavaScript) - v2.0.3
    Preparing search index...

    Function adjacentChapter

    • The chapter reading steps from current in reading order.

      Parameters

      • chapters: MangaChapter[]

        The manga's chapter list, in whatever order the source gave.

      • current: MangaChapter

        The chapter currently being read.

      • reading: -1 | 1

        +1 for the next (later) chapter, -1 for the previous.

      Returns MangaChapter | null

      The neighbouring chapter, or null at either end / if not found.