UNPKG
@roy.alcala/db
Version:
latest (0.7.0)
next (0.6.8)
0.7.0
0.6.8
A reactive client store for building super fast apps on sync
tanstack.com/db
TanStack/db
@roy.alcala/db
/
dist
/
esm
/
utils
/
type-guards.js
8 lines
(7 loc)
•
218 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
function
isPromiseLike
(
value
) {
return
!!value && (
typeof
value ===
`object`
||
typeof
value ===
`function`
) &&
typeof
value.
then
===
`function`
; }
export
{ isPromiseLike };
//# sourceMappingURL=type-guards.js.map