1234567891011121314151617181920 |
- 'use strict';
- Object.defineProperty(exports, '__esModule', {
- value: true
- });
- exports.default = isPromise;
- function isPromise(candidate) {
- return (
- candidate != null &&
- (typeof candidate === 'object' || typeof candidate === 'function') &&
- typeof candidate.then === 'function'
- );
- }
|