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

    Function parseToDays

    • Returns the number of days with parsing the given duration

      Parameters

      • Optionalduration: null | string

        the duration string

      Returns undefined | number

      the duration in days

      David Hsing