{"ast":null,"code":"import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name isFriday\n * @category Weekday Helpers\n * @summary Is the given date Friday?\n *\n * @description\n * Is the given date Friday?\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The date to check\n *\n * @returns The date is Friday\n *\n * @example\n * // Is 26 September 2014 Friday?\n * const result = isFriday(new Date(2014, 8, 26))\n * //=> true\n */\nexport function isFriday(date) {\n  return toDate(date).getDay() === 5;\n}\n\n// Fallback for modularized imports:\nexport default isFriday;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}