hippofish/src/web/app/common/scripts/is-promise.ts

2 lines
49 B
TypeScript
Raw Normal View History

2017-03-18 12:05:11 +01:00
export default x => typeof x.then == 'function';