date-vir - v7.3.2
    Preparing search index...

    Function assertWrapHour

    • Asserts that the input is a valid hour number.

      Parameters

      • input: number
      • OptionalfailureMessage: string

      Returns Hour

      The input if the assertion succeeds.

      AssertionError If the assertion fails.