1 | ;
|
2 |
|
3 | Object.defineProperty(exports, "__esModule", {
|
4 | value: true
|
5 | });
|
6 | exports.isPromise = isPromise;
|
7 | /** @license MIT License (c) copyright 2010-2016 original author or authors */
|
8 | /** @author Brian Cavalier */
|
9 | /** @author John Hann */
|
10 |
|
11 | function isPromise(p) {
|
12 | return p !== null && typeof p === 'object' && typeof p.then === 'function';
|
13 | } |
\ | No newline at end of file |