(value: string, count: number)
| 111 | } |
| 112 | |
| 113 | function takeHead(value: string, count: number): string { |
| 114 | if (count <= 0) return ""; |
| 115 | return sliceCodePoints(value, 0, count); |
| 116 | } |
| 117 | |
| 118 | function takeTail(value: string, count: number): string { |
| 119 | if (count <= 0) return ""; |
no test coverage detected