(element: Descendant)
| 125 | } |
| 126 | |
| 127 | export const isParagraphElement = (element: Descendant): element is ParagraphElement => { |
| 128 | return 'type' in element && element.type === 'paragraph'; |
| 129 | } |
| 130 | |
| 131 | export const slateContentToString = (children: Descendant[]): string => { |
| 132 | return children.map((child) => { |
no outgoing calls
no test coverage detected