Files
SupportBot/node_modules/chance/docs/time/weekday.md
T

16 lines
236 B
Markdown
Raw Normal View History

2021-02-02 13:50:53 +00:00
# weekday
```js
// usage
chance.weekday()
chance.weekday({weekday_only: true})
```
Return a weekday
```js
chance.weekday();
=> 'Tuesday'
```
By default, weekday_only is false. If set to true it will never return Saturday or Sunday.