Skip to content

API > @blocksuite/virgo > calculateTextLength

Function: calculateTextLength ​

calculateTextLength(text): number

Parameters ​

ParameterType
textText

Returns ​

number

Defined In ​

packages/virgo/src/utils/text.ts:3