Function isBefore

  • check that date is before another date

    Type Parameters

    • T extends Date

    Parameters

    • actual: T
    • expected: T
    • Optionalmessage: string

    Returns void