Set parent folder
folder.setParent(parent: Folder)
Assign a new parent folder to the selected folder.
Syntax
Parameters
- parent :
Folder
- The parent folder to set for the current folder.
Returns
Promise<null
>
A Promise that resolves to null
when the parent folder is set.