This repository has been archived on 2023-11-14. You can view files and clone it, but cannot push or open issues/pull-requests.
2021-05-11 19:38:55 -04:00
|
|
|
|
|
|
|
|
Object.defineProperty(Array.prototype, 'empty', {
|
|
|
|
|
get() {
|
|
|
|
|
return this.length === 0;
|
|
|
|
|
}
|
|
|
|
|
});
|
2021-05-21 23:31:35 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
process.on('unhandledRejection', (reason: Error, p) => {
|
|
|
|
|
console.log(reason.stack ?? reason.name + '\n\nStack trace unavailable...');
|
|
|
|
|
});
|