UNPKG

@technobuddha/library

Version:
12 lines (11 loc) 411 B
import { type DateOptions } from './date.ts'; /** * Determine the last day of the month containing the input date * @param input - The date * @param options - see {@link DateOptions} * @defaultValue utc false * @returns Midnight on the last day of the month corresponding to the input date * @group Time * @category Month */ export declare function endOfMonth(input: Date, { utc }?: DateOptions): Date;