The isDOMNode()
method tests if the provided value is a DOM Node and returns a boolean value.
bapi.helper.isDOMNode(value)
value
The value to test.
var dn = document.createElement("INPUT");
bapi.helper.isDOMNode(dn);//returns true
//following return false
bapi.helper.isDOMNode("Test Value.");
bapi.helper.isDOMNode([1,2,5]);
bapi.helper.isDOMNode({id: 1, name: "Joe"});