{"ast":null,"code":"import { toDate } from \"./toDate.mjs\";\n\n/**\n * @name isSaturday\n * @category Weekday Helpers\n * @summary Is the given date Saturday?\n *\n * @description\n * Is the given date Saturday?\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 Saturday\n *\n * @example\n * // Is 27 September 2014 Saturday?\n * const result = isSaturday(new Date(2014, 8, 27))\n * //=> true\n */\nexport function isSaturday(date) {\n  return toDate(date).getDay() === 6;\n}\n\n// Fallback for modularized imports:\nexport default isSaturday;","map":null,"metadata":{},"sourceType":"module","externalDependencies":[]}