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

    Function parseToWeeks

    • Returns the number of weeks with parsing the given duration

      Parameters

      • Optionalduration: null | string

        the duration string

      Returns undefined | number

      the duration in weeks

      David Hsing