All returns an iterator that loops over all task key-value pairs.
()
| 73 | |
| 74 | // All returns an iterator that loops over all task key-value pairs. |
| 75 | func (vars *Vars) All() iter.Seq2[string, Var] { |
| 76 | if vars == nil || vars.om == nil { |
| 77 | return func(yield func(string, Var) bool) {} |
| 78 | } |
| 79 | return vars.om.AllFromFront() |
| 80 | } |
| 81 | |
| 82 | // Keys returns an iterator that loops over all task keys. |
| 83 | func (vars *Vars) Keys() iter.Seq[string] { |
no outgoing calls
no test coverage detected