title: How to find out in a react component a prop is node or not?
body: <p>I have a <code>React.Component</code> which has these props:</p>
  
  <pre><code>Test.propTypes = {
     ...
     ...
     example: PropTypes.oneOfType([PropTypes.node, PropTypes.object]),
  };
  </code></pre>
  
  <p>I need to know in the <code>render()</code> method, <code>example</code>'s type is node or object?</p>