Skip to main content

body_has_subject

Function body_has_subject 

Source
pub fn body_has_subject(body: &Value) -> bool
Expand description

Returns true when body names a subject the caller can run — either a bare ViewDefinition resource or a Parameters body carrying one of the three subject parameters.