Values returns an iterator that loops over all task values.
()
| 78 | |
| 79 | // Values returns an iterator that loops over all task values. |
| 80 | func (matrix *Matrix) Values() iter.Seq[*MatrixRow] { |
| 81 | if matrix == nil || matrix.om == nil { |
| 82 | return func(yield func(*MatrixRow) bool) {} |
| 83 | } |
| 84 | return matrix.om.Values() |
| 85 | } |
| 86 | |
| 87 | func (matrix *Matrix) DeepCopy() *Matrix { |
| 88 | if matrix == nil { |
nothing calls this directly
no outgoing calls
no test coverage detected