* @summary Is the given date the first day of a month?
5
*
6
* @description
7
* Is the given date the first day of a month?
8
*
9
* @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).
10
*
11
* @param date - The date to check
12
13
* @returns The date is the first day of a month
14
*
15
* @example
16
* // Is 1 September 2014 the first day of a month?
17
* const result = isFirstDayOfMonth(new Date(2014, 8, 1))