(value: string)
| 103 | } |
| 104 | |
| 105 | function codePointLength(value: string): number { |
| 106 | return Array.from(value).length; |
| 107 | } |
| 108 | |
| 109 | function sliceCodePoints(value: string, start: number, end?: number): string { |
| 110 | return Array.from(value).slice(start, end).join(""); |
no outgoing calls
no test coverage detected