Type Alias: DateBefore
DateBefore: {
before
:Date
; }
Defined in: src/types/shared.ts:240
Match a day falling before the specified date, with the date not included.
Type declaration
Name | Type |
---|---|
before | Date |
Example
// Match days before the 2nd of February 2019
const matcher: DateBefore = { before: new Date(2019, 1, 2) };