isPortal() is not referenced anywhere (#11256)
Dustan Kasten committed
Oct 17, 2017 at 15:27 UTC
94e8e9d88ec3a0e75fa99b192f45f202f74f9f03
1 file changed
-11
src/renderers/shared/fiber/isomorphic/ReactPortal.js
-11
@@ -35,15 +35,4 @@ exports.createPortal = function(
35
};
36
};
37
38
-/**
39
- * Verifies the object is a portal object.
40
- */
41
-exports.isPortal = function(object: mixed): boolean {
42
- return (
43
- typeof object === 'object' &&
44
- object !== null &&
45
- object.$$typeof === REACT_PORTAL_TYPE
46
- );
47
-};
48
-
38
exports.REACT_PORTAL_TYPE = REACT_PORTAL_TYPE;