quran-meta
    Preparing search index...

    Function validateRiwayaData

    • Checks a riwaya data object for structural problems: boundary lists that are not ascending, do not start at ayah 1, do not end right after the last ayah, or whose length does not match the counts in meta.

      Use it to check your own data before passing it to QuranRiwaya.create or the functional API.

      Parameters

      Returns string[]

      A list of problems, empty when the data is consistent

      validateRiwayaData(HafsLists) // []