6 lines
228 B
JavaScript
6 lines
228 B
JavaScript
export function isRef(obj) {
|
|
return(// eslint-disable-next-line no-prototype-builtins
|
|
obj !== null && typeof obj === 'object' && Object.prototype.hasOwnProperty.call(obj, 'current'));
|
|
}
|
|
|
|
//# sourceMappingURL=isRef.js.map
|