|On object||TMLContext "this"|
Returns the WGAPI document object in context
This is a variant of this.content() that returns the context document as a property.
It is theoretically able to return context documents that are no content documents, which however is only used in authoring applications.
|Return value||A document object (A subclass of WGAPI object WGDocument)|
|Allowed in script types||