Content Extractor
#
extract APIThe Content Extractor provides access to content nodes regardless of their nesting level.
The extract
API accepts RichContent nodes array, and exposes Extractor<T>
that allows chaining:
#
Examples- Extract node keys of images with invalid (empty) alt text:
- Extract first image URL:
- Extract total image count:
- Extract list item texts, grouped by lists:
Note the recursive extract
and chain
combination.