How to distinguish tuplyfited constructor pattern in typed AST from recordified one?

I have typed AST with patterns and I want to distinguish two cases: tuplyfited constructor pattern and recordified constructor pattern.

And I would prefer not to find in environment by constructor name.

I suppose the non-documented field cstr_inlined can help me to distinguish these cases.

Can this field really help to distinguish tuplyfited constructor pattern from recordified constructor pattern?

Yes, cstr_inlined will be Some tdecl where tdecl is the record type declaration when the constructor argument is an inlined record.

Cheers,
Nicolas