// assertTypeByIdx checks that actual == want and returns an error if not.
assertTypeByIdx checks that actual == want and returns an error if not.
// assertTypeByIdx checks that actual == want and returns an error if not .
func assertTypeByIdx(actual, want ColType, idx int) error {
	if actual != want {
		return dfErrorf("The column with index %d is of type %q not %q",
			idx, actual, want)
	}
	return nil
}
func assertTypeByIdx ( actual , want ColType , idx int ) error { if actual != want { return dfErrorf ( " " , idx , actual , want ) } return nil }
assertTypeByIdx checks that actual == want and returns an error if not.
assertTypeByIdx checks that actual == want and returns an error if not .