Check return data type