@yookue/ts-lang-utils
    Preparing search index...

    Function getEndOfYear

    • Returns the end year date of the given date

      Parameters

      • Optionaldate: Date

        the date to inspect

      Returns undefined | Date

      the end year date of the given date

      David Hsing

      getEndOfYear(new Date(2023, 8, 30));    // Date(2023, 11, 31, 23, 59, 59)