0
0
llucycodes42
This code says that the PropTypes.instanceOf() function can return a boolean value, meaning that it can either return true or false. If a prop is not passed in as an input, then PropTypes.instanceOf() will return an instance of object. This means that if you want to check if a prop is of a particular type, you can use PropTypes.isinstanceOf().
Library: react
Shortcut: ptir
import PropTypes from 'prop-types';
PropTypes.instanceOf().isRequired