From 94e8e9d88ec3a0e75fa99b192f45f202f74f9f03 Mon Sep 17 00:00:00 2001 From: Dustan Kasten Date: Tue, 17 Oct 2017 15:27:54 -0400 Subject: [PATCH] isPortal() is not referenced anywhere (#11256) --- src/renderers/shared/fiber/isomorphic/ReactPortal.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/renderers/shared/fiber/isomorphic/ReactPortal.js b/src/renderers/shared/fiber/isomorphic/ReactPortal.js index fac6fbf148..478b964159 100644 --- a/src/renderers/shared/fiber/isomorphic/ReactPortal.js +++ b/src/renderers/shared/fiber/isomorphic/ReactPortal.js @@ -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;