Take is the operation that limits a sequence to the passed number of elements.
Take syntax
Take
: 'take' '(' ConstantExpression ')'
;
Related tokens
Take examples
- Returns only 3 cells from the sequence.
csharpselect(tableCells) // PdfTableCell ->take(3) // PdfTableCell