value to test
constructor to test against
boolean indicating whether a value is an instance of a provided constructor
var bool = instanceOf( [], Array );
// returns true
var bool = instanceOf( {}, Object ); // exception
// returns true
var bool = instanceOf( 'beep', String );
// returns false
var bool = instanceOf( null, Object );
// returns false
var bool = instanceOf( 5, Object );
// returns false
Tests whether a value has in its prototype chain a specified constructor as a prototype property.
constructor must be callable