myFile.resolve() in Photoshop DOM

Find the original that the alias points to.

Return Type
File

Description

If successful, a new File object is returned that points to the resolved file system element.

If the instance is not an alias, or if the alias could not be resolved, the return value is null.