Skip to main content

is_chapter_front_page

Function is_chapter_front_page 

Source
pub async fn is_chapter_front_page(
    conn: &mut PgConnection,
    page_id: Uuid,
) -> ModelResult<IsChapterFrontPage>
Expand description

Whether the page is its chapter’s front page; false for a page outside chapters or one that doesn’t exist.