Skip to main content

surface_context_match

Function surface_context_match 

Source
pub fn surface_context_match(surface: &Value, context: &Value) -> bool
Expand description

Matches a generated-surface context against a request context.

§Parameters

§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!());