IsValidRow returns true if the row is valid
(row int)
| 48 | |
| 49 | // IsValidRow returns true if the row is valid |
| 50 | func (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 |
| 58 | func (dt *Table) NumRows() int { return dt.Rows } |
no outgoing calls
no test coverage detected