Is it valid to use subdir_done() in expressions? #14812
-
So when you have the following code if not get_option('xyz')
subdir_done()
endif Is it valid to simplify this code in either of these two ways? (Both seem to get_option('xyz') or subdir_done() get_option('xyz') ? true : subdir_done() |
Beta Was this translation helpful? Give feedback.
Answered by
bonzini
Jul 17, 2025
Replies: 1 comment 3 replies
-
I have never seen it in the wild but I think it's unlikely that it would be removed from the language. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
tmuehlbacher-bnr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have never seen it in the wild but I think it's unlikely that it would be removed from the language.