Skip to main content

path_has_prefix_segment

Function path_has_prefix_segment 

Source
pub fn path_has_prefix_segment(root: &mut Value) -> bool
Expand description

Applies the bounded runtime contract for path_has_prefix_segment.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::business::path_has_prefix_segment holds and false otherwise.

§Examples

ⓘ
let _result = pharos_native::runtime::business::path_has_prefix_segment(std::path::Path::new("."));