isState method

bool isState(
  1. OptionState v
)

isState returns true if the state equals v.

Implementation

bool isState(OptionState v) => option == v;