docname
If name is not null
, it sets the document name to its value. If it's null
, the current document name is returned.
Return
the current document name if name is null
Parameters
name
- Optional
(optional) name to assign to the document
If name is not null
, it sets the document name to its value. If it's null
, the current document name is returned.
the current document name if name is null
(optional) name to assign to the document