Skip to main content

names_only_one_param

Function names_only_one_param 

Source
pub fn names_only_one_param(single_param: Option<&str>) -> bool
Expand description

Whether the request could only ever have matched one unnamed parameter.

True for a body that is one value – text, xml or bytes – which carries no argument names at all.