{"version":3,"sources":["../src/isAfter.ts"],"sourcesContent":["import { date } from \"./date\"\nimport type { DateInput, MaybeDateInput } from \"./types\"\n\n/**\n * @name isAfter\n * @category Common Helpers\n * @summary Is the first date after the second one or the current time?\n *\n * @description\n * Is the first date after the second one or the current time?\n *\n * @param inputDate - The date that should be after the other one to return true\n * @param [dateToCompare] - The date to compare with or the current time if nothing given\n *\n * @returns The first date is after the second date or the current time.\n */\nexport function isAfter(inputDate: DateInput, dateToCompare?: MaybeDateInput) {\n  const _date = date(inputDate)\n  const _dateToCompare = date(dateToCompare)\n\n  return +_date > +_dateToCompare\n}\n"],"mappings":";AAAA,SAAS,YAAY;AAgBd,SAAS,QAAQ,WAAsB,eAAgC;AAC5E,QAAM,QAAQ,KAAK,SAAS;AAC5B,QAAM,iBAAiB,KAAK,aAAa;AAEzC,SAAO,CAAC,QAAQ,CAAC;AACnB;","names":[]}