
I cannot work out how \if:w works and LaTeX3's manual does not show any example on how to use it:
I want to check whether the document is currently in oneside or twoside mode:
\if@twoside
Twoside mode
\else
Oneside mode
\fi
LaTeX2 works but I cannot convert it to LaTeX3 code; my current ...