quran-meta
    Preparing search index...

    Interface AyahStepOptions

    Options for nextAyah and prevAyah.

    interface AyahStepOptions {
        wrap?: boolean;
    }
    Index
    wrap?: boolean

    When true (default) stepping past the last ayah of the Quran wraps around to 1:1 (and stepping back from 1:1 wraps to the last ayah). When false the functions return undefined at the edges instead.