Get parent folder
folder.getParent()
Get parent folder of selected folder.
Syntax
Returns
Promise<null
| Folder>
A Promise that resolves to a Folder
object if a parent exists, or null
if no parent is found.
Example
TypeScript