UNPKG
@kcirtaptrick/framer-motion
Version:
latest (6.2.9)
6.2.10
6.2.9
A simple and powerful React animation library
github.com/framer/motion
framer/motion
@kcirtaptrick/framer-motion
/
dist
/
es
/
utils
/
is-ref-object.mjs
7 lines
(5 loc)
•
157 B
JavaScript
View Raw
1
2
3
4
5
6
7
function
isRefObject
(
ref
) {
return
(
typeof
ref ===
"object"
&&
Object
.
prototype
.
hasOwnProperty
.
call
(ref,
"current"
)); }
export
{ isRefObject };