Table.prototype.sliceColumns

Returns a new table with the range of columns copied from the original table.

Syntax

sliceColumns(start, end?)

Parameters

Example

new Table(["Item", "Count"], [
  ["Bicycle", 5],
  ["Scooter", 2]
]).sliceColumns(1)
Count
5
2