schlechtenburg/packages/rich-text/lib/length.ts

6 lines
120 B
TypeScript
Raw Normal View History

2024-10-08 07:15:26 +00:00
import { RichTextValue } from './types';
export function length( a: RichTextValue ): number {
return a.text.length;
}