// The definition of tuple is language specific.
The definition of tuple is language specific.
The definition of tuple is language specific .
pub(crate) fn is_tuple(t: &Type) -> bool {
    match t {
        Type::Record(ref fs) => {
            if fs.is_empty() {
                return false;
            }
            for (i, field) in fs.iter().enumerate() {
                if field.id.get_id() != (i as u32) {
                    return false;
                }
            }
            true
        }
        _ => false,
    }
}
pub ( crate ) fn is_tuple ( t : & Type ) -> bool { match t { Type :: Record ( ref fs ) => { if fs . is_empty ( ) { return false ; } for ( i , field ) in fs . iter ( ) . enumerate ( ) { if field . id . get_id ( ) != ( i as u32 ) { return false ; } } true } _ => false , } }
The definition of tuple is language specific.
The definition of tuple is language specific .
t
&Type