Example #1
0
// Determines whether an indentifier points to a packet table.
// herr_t H5PTis_valid( hid_t table_id)
func (t *Table) IsValid() bool {
	o := int(C.H5PTis_valid(t.id))
	if o > 0 {
		return true
	}
	return false
}
Example #2
0
// IsValid returns whether or not an indentifier points to a packet table.
func (t *Table) IsValid() bool {
	return C.H5PTis_valid(t.id) >= 0
}