Skip to content

Latest commit

 

History

History
15 lines (9 loc) · 570 Bytes

notion-utils.getblockparentpage.md

File metadata and controls

15 lines (9 loc) · 570 Bytes

Home > notion-utils > getBlockParentPage

getBlockParentPage variable

Returns the parent page block containing a given page.

Note that many times this will not be the direct parent block since some non-page content blocks can contain sub-blocks.

Signature:

getBlockParentPage: (block: types.Block, recordMap: types.ExtendedRecordMap) => types.PageBlock | null