This commit is contained in:
7
node_modules/react-dnd/lib/internals/isRef.js
generated
vendored
Normal file
7
node_modules/react-dnd/lib/internals/isRef.js
generated
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
export function isRef(obj) {
|
||||
return (
|
||||
// eslint-disable-next-line no-prototype-builtins
|
||||
obj !== null &&
|
||||
typeof obj === 'object' &&
|
||||
Object.prototype.hasOwnProperty.call(obj, 'current'));
|
||||
}
|
||||
Reference in New Issue
Block a user