MCPcopy Create free account
hub / github.com/WhiteSevs/TamperMonkeyScript / getTextLength

Method getTextLength

lib/Utils/src/Utils.ts:1371–1375  ·  view source on GitHub ↗

* 获取文本的字符长度 * @param text * @example * Utils.getTextLength("测试文本") * > 12

(text: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

getTextStorageSizeMethod · 0.80
initCharacterCountFunction · 0.80

Calls 1

encodeMethod · 0.45

Tested by

no test coverage detected