Sha256: 9a509ae2c33912d7ff75e08e25db24d28dc18c5a8afed551f03ac2f1630abe96

Contents?: true

Size: 478 Bytes

Versions: 49

Compression:

Stored size: 478 Bytes

Contents

{"version":3,"file":"isPromise.js","sourceRoot":"","sources":["../../src/util/isPromise.ts"],"names":[],"mappings":";AAAA,mBAA6B,KAAuB;IAClD,MAAM,CAAC,KAAK,IAAI,OAAa,KAAM,CAAC,SAAS,KAAK,UAAU,IAAI,OAAQ,KAAa,CAAC,IAAI,KAAK,UAAU,CAAC;AAC5G,CAAC;AAFe,iBAAS,YAExB,CAAA","sourcesContent":["export function isPromise<T>(value: any | Promise<T>): value is Promise<T> {\n  return value && typeof (<any>value).subscribe !== 'function' && typeof (value as any).then === 'function';\n}\n"]}

Version data entries

49 entries across 49 versions & 4 rubygems

Version Path
govuk_publishing_components-16.21.0 node_modules/rxjs/util/isPromise.js.map
govuk_publishing_components-16.20.1 node_modules/rxjs/util/isPromise.js.map
govuk_publishing_components-16.20.0 node_modules/rxjs/util/isPromise.js.map
govuk_publishing_components-16.19.0 node_modules/rxjs/util/isPromise.js.map
govuk_publishing_components-16.18.0 node_modules/rxjs/util/isPromise.js.map
govuk_publishing_components-16.17.0 node_modules/rxjs/util/isPromise.js.map
locomotivecms-4.0.0.alpha1 app/javascript/node_modules/inquirer/node_modules/rxjs/util/isPromise.js.map
locomotivecms-3.4.0 app/javascript/node_modules/rxjs/util/isPromise.js.map
dragonfly_puppeteer-0.1.0 node_modules/rxjs/util/isPromise.js.map