Only recently have I learnt to distinguish inline from display-style
maths mode by using \mode_if_inner:TF. It would be helpful for those of
us who come to expl3 programming without a good prior grounding in TeX
if a comment to this effect could be added to the documentation
This email has been checked for viruses by Avast antivirus software.