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