6 lines
120 B
TypeScript
6 lines
120 B
TypeScript
|
import { RichTextValue } from './types';
|
||
|
|
||
|
export function length( a: RichTextValue ): number {
|
||
|
return a.text.length;
|
||
|
}
|