MCPcopy Create free account
hub / github.com/denoland/std / codePointLength

Function codePointLength

csv/_shared.ts:11–13  ·  view source on GitHub ↗
(s: string)

Source from the content-addressed store, hash-verified

9 * ```
10 */
11export function codePointLength(s: string) {
12 return Array.from(s).length;
13}

Callers 2

parseRecordFunction · 0.90
#parseRecordMethod · 0.90

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected