docname

.docname name:{String? = null} -> Any

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) name to assign to the document