Skip to main content

declarative_source_route_path_has_segment

Function declarative_source_route_path_has_segment 

Source
pub fn declarative_source_route_path_has_segment(
    route_path: &str,
    path_segment: &str,
) -> bool
Expand description

Performs declarative source route path has segment.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::declarative_source_route_path_has_segment holds and false otherwise.

§Performance

Performance is proportional to the size of the supplied inputs and any parsed or loaded data consumed by crate::declarative::declarative_source_route_path_has_segment.

§Examples

ⓘ
let _result = pharos_runtime_compiler::declarative::declarative_source_route_path_has_segment(todo!(), todo!());