Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
adrianbbarkus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
60 ms
·
1.
▲
by
adrianbbarkus
6y ago
Irony is there's a simpler way to do it, making the library even less necessary. `const isPromise = x => Promise.resolve(x) === x`