Skip to content

Commit

Permalink
slightly faster tl_if_head_is_group:n
Browse files Browse the repository at this point in the history
  • Loading branch information
Skillmon authored and blefloch committed Oct 27, 2020
1 parent 2e3ddea commit 3af4f2f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions l3kernel/l3tl.dtx
Expand Up @@ -3146,10 +3146,10 @@
% \begin{macrocode}
\prg_new_conditional:Npnn \tl_if_head_is_group:n #1 { p , T , F , TF }
{
\if_catcode:w
\if:w
\exp_after:wN \use_none:n
\exp_after:wN { \exp_after:wN { \token_to_str:N #1 ? } }
* *
\scan_stop: \scan_stop:
\prg_return_false:
\else:
\prg_return_true:
Expand Down

0 comments on commit 3af4f2f

Please sign in to comment.