1.1.0 • Published 6 years ago

is-wednesday v1.1.0

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

is-wednesday

A simple, powerful package to determine if a Date object is of the day Wednesday.

Docs

Simply require the package as so: const is_wednesday = require('is-wednesday');

And then pass a Date or millisecond value to it and receive a true/false.

is_wednesday() Returns if the current date is Wednesday.

is_wednesday([parse-able string]) Returns if the date string given is a Wednesday.

is_wednesday([millisecond value since Unix Epoch]) Returns if the date from millisecond value is a Wednesday.