isPortal() is not referenced anywhere (#11256)

This commit is contained in:
Dustan Kasten
2017-10-17 20:27:54 +01:00
committed by Dan Abramov
parent 56e5288b04
commit 94e8e9d88e
@@ -35,15 +35,4 @@ exports.createPortal = function(
};
};
/**
* Verifies the object is a portal object.
*/
exports.isPortal = function(object: mixed): boolean {
return (
typeof object === 'object' &&
object !== null &&
object.$$typeof === REACT_PORTAL_TYPE
);
};
exports.REACT_PORTAL_TYPE = REACT_PORTAL_TYPE;