Opal-Estate-Pro/node_modules/es5-ext/promise/#/finally/is-implemented.js

8 lines
181 B
JavaScript
Raw Normal View History

2019-09-13 06:27:52 +02:00
"use strict";
module.exports = function () {
if (typeof Promise !== "function") return false;
if (typeof Promise.prototype.finally !== "function") return false;
return true;
};