Notion Helper - v1.3.29
    Preparing search index...

    Function getTotalCount

    • Gets the total number of blocks within an array of child blocks, including child blocks of those blocks (and so on). Used to ensure that requests do not exceed the 1,000 total block limit of the Notion API.

      Parameters

      • arr: Object[]

        The array of block objects to be counted.

      Returns number