12 ms·
In theory `x instanceof Promise` would work, but the reason for this package is that there are many non-standard Promise implementations in the JS world.
by odensc 6y ago
In theory `x instanceof Promise` would work, but the reason for this package is that there are many non-standard Promise implementations in the JS world.
- exogen 6y agoIt wouldn't work even if everything were native – see my reply above.