orcid-parser
    Preparing search index...

    Function filterByYearRange

    • Filters works by publication year range (inclusive).

      Parameters

      • works: AnyWork[]

        Array of works to filter

      • startYear: number

        Start year of the range (inclusive)

      • endYear: number

        End year of the range (inclusive)

      Returns AnyWork[]

      Filtered array of works published within the specified year range

      const recent = filterByYearRange(works, 2020, 2024);