Reusable predicates for repeat groups and virtual row layouts.
Predicate functions receive [idx last-idx], where idx is zero-based and last-idx is the last index in the current expansion. Column predicates are used with :repeat-for on [:layout :cols]. Row predicates are used with :apply-for on entries in [:layout :rows].
Reusable predicates for repeat groups and virtual row layouts. Predicate functions receive [idx last-idx], where idx is zero-based and last-idx is the last index in the current expansion. Column predicates are used with :repeat-for on [:layout :cols]. Row predicates are used with :apply-for on entries in [:layout :rows].
Returns true for every data column.
Returns true for every data column.
Returns true for every virtual row.
Returns true for every virtual row.
Returns true for the first data column.
Use with :repeat-for in column layout specs. Receives [idx last-idx] and matches idx 0.
Returns true for the first data column. Use with :repeat-for in column layout specs. Receives [idx last-idx] and matches idx 0.
Returns true for the virtual row before the first data row.
Use with :apply-for in row layout specs. Receives [idx last-idx] and matches idx 0.
Returns true for the virtual row before the first data row. Use with :apply-for in row layout specs. Receives [idx last-idx] and matches idx 0.
Returns true for data columns that are neither first nor last.
Returns true for data columns that are neither first nor last.
Returns true for virtual rows between data rows.
Does not match the first or last virtual row.
Returns true for virtual rows between data rows. Does not match the first or last virtual row.
Returns true for the last data column.
Returns true for the last data column.
Returns true for the virtual row after the last data row.
Use with :apply-for for bottom borders and footers.
Returns true for the virtual row after the last data row. Use with :apply-for for bottom borders and footers.
Returns true for every data column except the first.
Returns true for every data column except the first.
Returns true for every virtual row except the first.
Use with :apply-for in row layout specs.
Returns true for every virtual row except the first. Use with :apply-for in row layout specs.
Returns true for first and last data columns.
Returns true for first and last data columns.
Returns true for first and last virtual rows.
Useful when the top and bottom borders share a layout.
Returns true for first and last virtual rows. Useful when the top and bottom borders share a layout.
Returns true for every data column except the last.
Returns true for every data column except the last.
Returns true for every virtual row except the last.
Returns true for every virtual row except the last.
Returns true for the second data column.
Returns true for the second data column.
Returns true for the virtual row after the first data row.
This is commonly used for Markdown header separator rows.
Returns true for the virtual row after the first data row. This is commonly used for Markdown header separator rows.
cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |