(code: string)
| 76 | } |
| 77 | |
| 78 | export function isAllSame(code: string): boolean { |
| 79 | if (!code) return false |
| 80 | const first = code[0] |
| 81 | for (let i = 1; i < code.length; i++) { |
| 82 | if (code[i] !== first) return false |
| 83 | } |
| 84 | return true |
| 85 | } |
| 86 | |
| 87 | export function isTooSimpleSequence(code: string): boolean { |
| 88 | if (!code || code.length < 3) return false |
no outgoing calls
no test coverage detected