Version: 0.1.00.2.00.2.20.2.30.2.40.3.00.4.00.5.0-a0.5.10.5.20.6.00.6.10.6.20.7.00.8.00.8.20.8.30.8.40.8.50.8.60.9.00.9.10.10.00.10.10.10.20.11.00.12.00.13.00.13.10.13.20.14.00.15.00.16.00.17.00.17.10.18.00.18.10.18.20.18.30.18.40.18.50.18.60.18.70.18.80.19.00.19.10.19.20.19.30.19.40.19.50.19.60.19.71.0.01.0.11.0.21.0.31.0.41.0.51.1.01.1.11.2.01.2.11.2.21.3.01.4.01.4.11.5.01.5.11.6.01.6.11.6.21.7.01.7.11.7.21.7.31.8.01.8.11.9.0
/** @license MIT License (c) copyright 2010-2016 original author or authors */
/** @author Brian Cavalier */
/** @author John Hann */
export function isPromise (p) {
return p !== null && typeof p === 'object' && typeof p.then === 'function'
}