canChangeView method

bool canChangeView(
  1. int complaints
)

Simple view-change helper: is it safe to change view given complaints from nodes?

Implementation

bool canChangeView(int complaints) => complaints > f;