Skip to main content

count_substring_occurrences

Function count_substring_occurrences 

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

Applies the bounded runtime contract for count_substring_occurrences.

§Parameters

§Returns

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

§Examples

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