(cmd tea.Cmd)
| 263 | var printlnMsgType = reflect.TypeOf(tea.Println("probe")()) |
| 264 | |
| 265 | func countPrintlnLeaves(cmd tea.Cmd) int { |
| 266 | return countCmdLeaves(cmd, func(_ tea.Cmd, msg tea.Msg) bool { |
| 267 | return msg != nil && reflect.TypeOf(msg) == printlnMsgType |
| 268 | }) |
| 269 | } |
no test coverage detected