Skip to main content

generated_surface_array_contains_string

Function generated_surface_array_contains_string 

Source
pub fn generated_surface_array_contains_string(
    values: &Value,
    expected: &str,
) -> bool
Expand description

Tests whether an array contains an exact string value.

§Parameters

§Returns

Returns true when the condition checked by crate::runtime::json_commands::generated_surface_array_contains_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::runtime::json_commands::generated_surface_array_contains_string.

§Examples

ⓘ
let _result = pharos_native::runtime::json_commands::generated_surface_array_contains_string(todo!(), "value");