From 2bc862bc76695e405786dc733955b67d128af0b9 Mon Sep 17 00:00:00 2001 From: Arha Gatram Date: Fri, 22 May 2026 15:25:31 -0700 Subject: [PATCH] Help: Document if() behavior with empty condition Closes: #26527 --- Help/command/if.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Help/command/if.rst b/Help/command/if.rst index 6433e4588e..3ef7b54f10 100644 --- a/Help/command/if.rst +++ b/Help/command/if.rst @@ -93,6 +93,11 @@ Basic Expressions to ``NEW`` and the string's value happens to be a variable name that is affected by :policy:`CMP0054`'s behavior. +.. signature:: if() + :target: empty + + False if no argument is provided. + Logic Operators """""""""""""""