UNPKG

376 BTypeScriptView Raw
1/**
2 * @name startOfYesterday
3 * @category Day Helpers
4 * @summary Return the start of yesterday.
5 * @pure false
6 *
7 * @description
8 * Return the start of yesterday.
9 *
10 * @returns The start of yesterday
11 *
12 * @example
13 * // If today is 6 October 2014:
14 * const result = startOfYesterday()
15 * //=> Sun Oct 5 2014 00:00:00
16 */
17export declare function startOfYesterday(): Date;