(haystack: string, needle: string)
| 229 | | { readonly ok: false; readonly message: string }; |
| 230 | |
| 231 | const countOccurrences = (haystack: string, needle: string): number => |
| 232 | haystack.split(needle).length - 1; |
| 233 | |
| 234 | /** The edited source, or the first edit that could not be applied. Messages |
| 235 | * name the edit by position and say what to do, because the model retries |
no outgoing calls
no test coverage detected