Why is a text selection not an object?
I wanted to check whether a text selection exists or not
var oDoc = app.ActiveDoc;
var oTsel = oDoc.TextSelection;
if (oTsel.ObjectValid()) {
alert ("we got it");
}
This creates an error during paring. I need to write
if (oTsel.beg.obj.ObjectValid()) {
Why is the selection itself is not considered an object - although is noticed as such in the data browser?

