myFolder.parent in Photoshop DOM

The Folder containing this Folder.
This property is read-only.

Property Type
Folder
If this Folder is at the root folder of a volume, the value is null.