Skip to main content

is_course_root

Function is_course_root 

Source
pub(crate) fn is_course_root(segment: &str, course_id: Uuid) -> bool
Expand description

Whether a path’s first segment names the course: course or the course’s id.