Back to blog
documentation

SelectMany

SelectMany is the operation that can get from the objects collection the sequence of requested objects.

Syntax

SelectManyStage
  : 'selectMany' '(' Selector ')'  
  ;

Related tokens

[Selector](../keyword/selector)

Usage examples

Select table rows

select(tables)->selectMany(tableRows) // PdfTableRow[]

Select table cells

select(tables)->selectMany(tableCells) // PdfTableCell[]