{"version":3,"sources":["../src/sameMonth.ts"],"sourcesContent":["import { date } from \"./date\"\nimport type { DateInput, MaybeDateInput } from \"./types\"\n\n/**\n * Checks if two date objects refer to the same time minutes. Ignores date.\n * @param inputDateA - First date to compare\n * @param [inputDateB] - Second date to compare  or the current time if nothing given\n */\nexport function sameMonth(inputDateA: DateInput, inputDateB?: MaybeDateInput): boolean\n/**\n * Checks if two date objects refer to the same time minutes. Ignores date.\n * @param [inputDateA] - First date to compare or the current time if null given\n * @param inputDateB - Second date to compare\n */\nexport function sameMonth(inputDateA: MaybeDateInput, inputDateB: DateInput): boolean\nexport function sameMonth(\n  inputDateA: MaybeDateInput,\n  inputDateB?: MaybeDateInput\n): boolean {\n  const a = date(inputDateA)\n  const b = date(inputDateB)\n  return a.getMonth() === b.getMonth()\n}\n"],"mappings":";AAAA,SAAS,YAAY;AAed,SAAS,UACd,YACA,YACS;AACT,QAAM,IAAI,KAAK,UAAU;AACzB,QAAM,IAAI,KAAK,UAAU;AACzB,SAAO,EAAE,SAAS,MAAM,EAAE,SAAS;AACrC;","names":[]}