Skip to content

TFolder.getParentPrefix method

TFolder › getParentPrefix

Unofficial

Returns the prefix of the folder path.

If the folder is in the root '/', it returns an empty string. If the folder is 'a/b/c', it returns 'a/b/'.

Signature:

getParentPrefix(): string

Returns: stringThe prefix of the folder.