page.getParentPageId()Get the ID of the source page that a branch was created from, or null if the page is not a branch.
Use this method together with webflow.switchPage() to navigate from a branch back to the main page.
Promise<string | null>
A Promise that resolves to the parent page ID as a string when the page is a branch, or null when the page is not a branch.