Checks if the given date string is after the comparison date.

  • Parameters

    • value: string

      The date string to validate. Must be in a format understood by validator.isAfter.

    • comparisonDate: string = ...

      The date string to compare against. Must be in a format understood by validator.isAfter. Defaults to the current date in ISO 8601 format.

    Returns boolean

    True if the value is after the comparison date, false otherwise.