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

    Function parseToMonths

    • Returns the number of months with parsing the given duration

      Parameters

      • Optionalduration: null | string

        the duration string

      Returns undefined | number

      the duration in months

      David Hsing