文件操作 - isMonday.d.cts
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/date-fns/isMonday.d.cts
编辑文件内容
import type { ContextOptions, DateArg } from "./types.js"; /** * The {@link isMonday} function options. */ export interface IsMondayOptions extends ContextOptions<Date> {} /** * @name isMonday * @category Weekday Helpers * @summary Is the given date Monday? * * @description * Is the given date Monday? * * @param date - The date to check * @param options - An object with options * * @returns The date is Monday * * @example * // Is 22 September 2014 Monday? * const result = isMonday(new Date(2014, 8, 22)) * //=> true */ export declare function isMonday( date: DateArg<Date> & {}, options?: IsMondayOptions | undefined, ): boolean;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件