IsResolved returns true if the status represents a terminal state where the task is no longer active (completed or cancelled).
()
| 72 | // IsResolved returns true if the status represents a terminal state |
| 73 | // where the task is no longer active (completed or cancelled). |
| 74 | func (s Status) IsResolved() bool { |
| 75 | return s == StatusCompleted || s == StatusCancelled |
| 76 | } |
| 77 | |
| 78 | // Priority represents the importance level of a task |
| 79 | type Priority string |
no outgoing calls