pub fn generated_surface_array_contains_string(
values: &Value,
expected: &str,
) -> boolExpand description
Tests whether an array contains an exact string value.
§Parameters
values: Input consumed bycrate::runtime::json_commands::generated_surface_array_contains_string.expected: Input consumed bycrate::runtime::json_commands::generated_surface_array_contains_string.
§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");§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.