pub fn surface_context_match(surface: &Value, context: &Value) -> boolExpand description
Matches a generated-surface context against a request context.
§Parameters
surface: Input consumed bycrate::runtime::json_commands::surface_context_match.context: Input consumed bycrate::runtime::json_commands::surface_context_match.
§Returns
Returns true when the condition checked by crate::runtime::json_commands::surface_context_match holds and false otherwise.
§Examples
ⓘ
let _result = pharos_native::runtime::json_commands::surface_context_match(todo!(), todo!());§Related
crate::runtime::json_commandsfor adjacent helpers that share the same runtime surface.