Function checkIsAfterToday

  • Determine if a date is after today.

    Parameters

    • date: MomentInput

    Returns boolean

    Example

    SR.date.checkIsAfterToday(new Date("2020-12-25"));
    // expected result if the current day is before declared date(2020-12-25): true
    // otherwise: false