Skip to main content

derive_annotation

Function derive_annotation 

Source
pub fn derive_annotation(
    selected: &[QuestionOption],
    incoming: Option<&QuestionAnnotation>,
) -> Option<QuestionAnnotation>
Expand description

Mirrors deriveAnnotation. Joins option previews with a blank line separator when no caller-supplied annotation preview is present.