whatcall - v0.0.0
    Preparing search index...

    Interface ScenarioStats

    Response statistics for a scenario, including a count of responses to each option.

    interface ScenarioStats {
        optionCounts: { [option: string]: number };
        totalResponses: number;
    }
    Index

    Properties

    optionCounts: { [option: string]: number }

    The count of user responses to each of the options, as an object.

    property key - the option being counted property value - the count of responses selecting that value

    example: optionCounts: { "Play On": 4, "Pen White": 3, "Pen Green": 0 .}

    totalResponses: number

    A count of all responses for this scenario