Sha256: ba80465a15fe6aa0a7589e9acf691b00b622aa58e58949746b2abe77d151e045
Contents?: true
Size: 188 Bytes
Versions: 49
Compression:
Stored size: 188 Bytes
Contents
export function isPromise<T>(value: any | Promise<T>): value is Promise<T> { return value && typeof (<any>value).subscribe !== 'function' && typeof (value as any).then === 'function'; }
Version data entries
49 entries across 49 versions & 4 rubygems