should_show_hint

Function should_show_hint 

Source
pub fn should_show_hint() -> bool
Expand description

Checks if a hint should be shown and increments the counter.

Returns true if:

  • Session is not initialized AND
  • Hint count is below MAX_HINTS

Atomically increments the hint counter when returning true.