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

    Function parseToHours

    • Returns the number of hours with parsing the given duration

      Parameters

      • Optionalduration: null | string

        the duration string

      Returns undefined | number

      the duration in hours

      David Hsing