Skip to main content

asks_viewer

Function asks_viewer 

Source
pub fn asks_viewer(
    row: &Value,
    viewer: &str,
    in_team: &dyn Fn(&str) -> Option<bool>,
) -> bool
Expand description

Whether one row, as the REST API returns an issue, a comment, or a review, is a person asking for the viewer by name. The viewer’s own words do not count, nor a bot’s, nor anything spar composed, whoever’s spar it was: none of them is somebody asking, and two of them answering each other is a loop.