Home > notion-utils > getTextContent
Gets the raw, unformatted text content of a block's content value.
This is useful, for instance, for extracting a block's title
without any rich text formatting.
Signature:
getTextContent: (text?: types.Decoration[]) => string