Function: isPollOpen() ​
ts
function isPollOpen(poll, now?): boolean;Defined in: polls.ts:86
whether votes can still be cast or changed
Parameters ​
| Parameter | Type |
|---|---|
poll | Pick<IMessagePoll, "endsAt"> |
now? | number |
Returns ​
boolean