Programmer's Guide > Interfaces > W3C Range interface > collapsed attribute
  
collapsed attribute
TRUE if the Range is collapsed
collapsed
Access
read-only
Returns
boolean
Get throws
DOMException
INVALID_STATE_ERR: Raised if detach() has already been invoked on this object.