IsValid checks if the action mode is valid
()
| 33 | |
| 34 | // IsValid checks if the action mode is valid |
| 35 | func (m ActionMode) IsValid() bool { |
| 36 | return m == ActionModeDev || m == ActionModeRelease || m == ActionModeScript || m == ActionModeAction |
| 37 | } |
| 38 | |
| 39 | // IsDev returns true if the action mode is development mode |
| 40 | func (m ActionMode) IsDev() bool { |
no outgoing calls