PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
date-fns
/
is_first_day_of_month
var parse = require('../parse/index.js') /** * @category Month Helpers * @summary Is the given date the first day of a month? * * @description * Is the given date the first day of a month? * * @param {Date|String|Number} date - the date to check * @returns {Boolean} the date is the first day of a month * * @example * // Is 1 September 2014 the first day of a month? * var result = isFirstDayOfMonth(new Date(2014, 8, 1)) * //=> true */ function isFirstDayOfMonth (dirtyDate) { return parse(dirtyDate).getDate() === 1 } module.exports = isFirstDayOfMonth
[+]
..
[-] index.d.ts
[edit]
[-] package.json
[edit]
[-] index.js
[edit]
[-] index.js.flow
[edit]