Conditional Behavior
The return value from the evaluation expression will be used to determine the result of the condition. Return true if the lines following the modifier should be executed, or false to skip to the next @if / @ifset modifier.
最后更新于
The return value from the evaluation expression will be used to determine the result of the condition. Return true if the lines following the modifier should be executed, or false to skip to the next @if / @ifset modifier.
最后更新于
You can use the evaluator with the various @if and @ifset to introduce simple conditional behavior in functions.
Note that these modifiers can also be used , so to use the evaluator you must begin the expression with a =
character.