MCPcopy Create free account
hub / github.com/datasweet/datatable / HiddenColumns

Method HiddenColumns

table.go:54–62  ·  view source on GitHub ↗

HiddenColumns returns the hidden column names in datatable

()

Source from the content-addressed store, hash-verified

52
53// HiddenColumns returns the hidden column names in datatable
54func (t *DataTable) HiddenColumns() []string {
55 var cols []string
56 for _, col := range t.cols {
57 if !col.IsVisible() {
58 cols = append(cols, col.Name())
59 }
60 }
61 return cols
62}
63
64// Column gets the column with name
65// returns nil if not found

Callers

nothing calls this directly

Calls 2

IsVisibleMethod · 0.65
NameMethod · 0.65

Tested by

no test coverage detected