expandPath

Creates an absolute, platform-appropriate path that is
equivalent to the value of relative_path, appended to the base
path. This function (despite its name) can accept an absolute
or relative path in the relative_path attribute

expandPath(relative_path) → returns string

expandPath Argument Reference

relative_path string
Required

Examples sample code invoking the expandPath function

expandPath("./")

expandPath("../")

expandPath("path/to/subfolder")

Fork me on GitHub