MCPcopy Create free account
hub / github.com/cogentcore/core / IsValidRow

Method IsValidRow

tensor/table/table.go:50–55  ·  view source on GitHub ↗

IsValidRow returns true if the row is valid

(row int)

Source from the content-addressed store, hash-verified

48
49// IsValidRow returns true if the row is valid
50func (dt *Table) IsValidRow(row int) bool {
51 if row < 0 || row >= dt.Rows {
52 return false
53 }
54 return true
55}
56
57// NumRows returns the number of rows
58func (dt *Table) NumRows() int { return dt.Rows }

Callers 14

FloatIndexMethod · 0.95
FloatMethod · 0.95
StringIndexMethod · 0.95
StringValueMethod · 0.95
TensorIndexMethod · 0.95
TensorMethod · 0.95
TensorFloat1DMethod · 0.95
SetFloatIndexMethod · 0.95
SetFloatMethod · 0.95
SetStringIndexMethod · 0.95
SetStringMethod · 0.95
SetTensorIndexMethod · 0.95

Implementers 1

_cogentcore_org_core_plot_plots_Tableyaegicore/symbols/cogentcore_org-core-

Calls

no outgoing calls

Tested by

no test coverage detected