Pablo

Pablo.canBeWrapped(obj)

Returns true if the node can be wrapped by Pablo into a collection - e.g. if the object is an HTML or SVG element, NodeList, Pablo collection, jQuery collection or array of elements.

alert(Pablo.canBeWrapped(document.body)); // true
Painting is just another way of keeping a diary.
Pablo Picasso