Skip to main content

declarative_source_array_has_string

Function declarative_source_array_has_string 

Source
pub fn declarative_source_array_has_string(
    array_value: &Value,
    expected_value: &str,
) -> bool
Expand description

Performs declarative source array has string.

§Parameters

§Returns

Returns true when the condition checked by crate::declarative::declarative_source_array_has_string 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_array_has_string.

§Examples

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