Function validate_params

Source
pub fn validate_params(
    params: &HashMap<String, Value>,
    required: &[&str],
) -> Result<(), String>