(invoice: { expiresAt?: Date | null })
| 1 | export const isExpiredInvoice = (invoice: { expiresAt?: Date | null }): boolean => |
| 2 | invoice.expiresAt instanceof Date && invoice.expiresAt.getTime() <= Date.now() |
no outgoing calls
no test coverage detected